Edit a direct-message reply draft
update_dm_reply_draftChange the text of an unsent direct-message reply draft after the writer asks for edits. Supply the draft's updatedAt as expectedUpdatedAt. Nothing is sent.
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": {
"draftId": "<draftId>",
"text": "<text>",
"expectedUpdatedAt": "<expectedUpdatedAt>"
},
"name": "update_dm_reply_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| draftId | Yes | ||
| expectedUpdatedAt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| replyWindow | Yes | ||
| connectedAccount | No |