edit_draft
Update a draft post before publishing: revise title, content, tags, or visibility, with automatic local re-sanitization to keep sensitive data out.
Instructions
Edit a draft post before publishing. Provide updated title and/or content — they will be re-sanitized locally.
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": "edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Updated tags/project names | |
| title | No | Updated title (will be re-sanitized) | |
| content | No | Updated content (will be re-sanitized) | |
| draft_id | Yes | The draft ID from draft_post | |
| visibility | No | Updated visibility |