Abrir rascunho no Aspa
aspa_open_draftOpen a visible Aspa conversation window with the reply box pre-filled so users can review, edit, and send a draft themselves in the official panel.
Instructions
Open a visible Aspa window on the conversation with the reply box pre-filled with the draft, so the user reviews, edits and sends it themselves in the official panel. Returns as soon as the window is open; the user closes it when done (default limit 20 minutes). While it is open, other Aspa actions and notifications are paused. Whether the user sent it is recorded in the audit log. Use this instead of aspa_send_message when the user wants to review in Aspa.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact": "<contact>",
"text": "<text>"
},
"name": "aspa_open_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Draft text in pt-BR. | |
| index | No | Index from aspa_list_conversations, only to tell apart contacts with the same name. | |
| contact | Yes | Contact name exactly as listed. Required for every action that changes a conversation. | |
| timeoutMinutes | No | ||
| conversation_id | No | conversation_id returned by aspa_read_conversation. When given, the action is refused if the open conversation is a different one. |