Collect a reply that was being written
get_draft_replyPicks up the result of draft_reply. Each call waits up to 25 seconds for the draft, then returns it or says it is still writing and for how long. Keep calling until it returns: runs take 1 to 4 minutes. The result is handed over ONCE, so keep it: asking again after it comes back reads as expired. Pass cancel:true to stop a run you no longer want.
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": {
"jobId": "<jobId>"
},
"name": "get_draft_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The jobId draft_reply returned. | |
| cancel | No | true to stop the run instead of collecting it. |