List writing pieces
list_writing_piecesList saved tweet, thread, and blog drafts newest first, optionally filtered by kind or source item. Use the returned piece IDs to open a specific draft with get_writing_piece.
Instructions
List saved tweet, thread and blog drafts newest first, optionally filtered by kind or source item. Use to find a piece ID for get_writing_piece; use list_scripts for video-script versions. Returns pieces and count. The list contains local drafts, not posts fetched from social or publishing accounts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_writing_pieces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Saved draft format to include; omit to include tweet, thread and blog pieces. | |
| limit | No | Maximum rows to return in this response; does not change stored data. | |
| yoink_id | No | Stable source-item identifier from a capture or search result. |