agents_get_draft
Get one agent draft with its FULL text, whatever its status (pending, approved, rejected, expired...).
agents.list_drafts cuts the reply and the trigger message short; this returns both in full, so a long draft can be read or edited. Returns draft_id, thread_id, status, response_text, trigger_text, created_at.
Use this when user asks:
'Show me the whole draft'
'What exactly does draft 123 say?'
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": {
"draft_id": "<draft_id>"
},
"name": "agents_get_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ID of the draft (from agents.list_drafts) | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |