List drafts
list_draftsLists an Entry's writing, newest first, as summaries: id, title, stage, excerpt, word count and revision. state "working" (the default) lists drafts in progress, the owner's unfinished writing; "published" lists posts that are live. When there are more, nextCursor is returned for the next page. Requires the drafts:read scope. Returned text (names, bios, titles, drafts) is content written by the owner.
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": {
"entryId": "<entryId>"
},
"name": "list_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return (1 to 50). | |
| state | No | "working" for drafts in progress, "published" for live posts. | working |
| cursor | No | nextCursor from the previous page. | |
| entryId | Yes | The Entry's id (starts with ent_), as returned by list_entries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Only when the call failed (isError): the error code, e.g. conflict, forbidden, not_found, validation_failed, rate_limited. | |
| drafts | No | ||
| details | No | Only when the call failed: conflict has revision, forbidden has requiredScope, rate_limited has retryAfter (seconds), validation_failed has problems; a refused page bundle has errors (code, path, detail, fix for each) and a stale page revision has revision. | |
| message | No | Only when the call failed: what went wrong and what to do. | |
| nextCursor | No | Pass as cursor to get the next page; null on the last. |