List project blocks
list_blocksList the top-level blocks (root children) in a project, as structured JSON (id, text, completed). Get the projectId from list_projects. Supports after/before cursors (block ids).
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": {
"projectId": "<projectId>"
},
"name": "list_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor: return blocks after this block id (not with before) | |
| limit | No | Max blocks to return (default 100) | |
| before | No | Cursor: return blocks before this block id (not with after) | |
| projectId | Yes | Project ID from `list_projects` |