Edit draft
edit_draftReplace the text of one saved draft that is still pending or failed. One string per post in a thread. The old text is not kept, so confirm with the user first.
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": {
"postId": "<postId>",
"segments": "<segments>"
},
"name": "edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ||
| segments | Yes |