Message draft
Decisions and work / clio.message-draft.v1
Offer an editable message that a person can review before opening it in their mail app.
When to use it
Offer an editable message that a person can review before opening it in their mail app.
What the agent supplies
Editable alternatives for an email, chat message, or text, with copy and open actions.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-clio-workspace", file="catalog.json#/components/clio.message-draft.v1"){
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"properties": {
"weight": {
"description": "Relative flex weight of this component inside a Row or Column. Only meaningful as a direct child of one.",
"type": "number"
}
},
"type": "object"
},
{
"properties": {
"component": {
"const": "clio.message-draft.v1"
},
"kind": {
"enum": [
"email",
"slack",
"text"
],
"type": "string"
},
"title": {
"type": "string"
},
"versions": {
"items": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"cc": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"minLength": 1,
"type": "string"
},
"subject": {
"type": "string"
},
"to": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"label",
"body"
],
"type": "object"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"component",
"kind",
"versions"
],
"type": "object"
}
],
"description": "Editable alternatives for an email, chat message, or text, with copy and open actions.",
"type": "object",
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon