Get Draft
discourse_get_draftRetrieves a Discourse draft by key and returns its JSON payload including sequence and parsed fields such as title, reply, category ID, tags, and action.
Instructions
Retrieve a specific draft by key. Returns JSON with draft_key, sequence, and parsed data (title, reply, categoryId, tags, action).
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_key": "<draft_key>"
},
"name": "discourse_get_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | No | Expected sequence number (optional) | |
| draft_key | Yes | Draft key (e.g., "new_topic", "topic_123", "new_private_message") |