list_todos
List todo items for a scope. Without agent_id: the user's OWN todos; with agent_id: that agent's todos. user_id defaults to the caller. Optional: done (filter), due_before (ISO), kompakt (true = only id, title, done, priority, due_at, lead_id, created_at, notes cut to 200 chars; default limit 50, max 100 — use it in scheduled/takt runs, a full list of 400 todos is ~115k chars). Open first, then by due/sort_order. Each item carries url, the page of that todo in the app — use it when you link a todo, never build one yourself.
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_todos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Filter by completion: true = only done, false = only open | |
| limit | No | Maximum number of entries to return | |
| kompakt | No | Return only key fields with notes cut to 200 chars (default limit 50, max 100) | |
| user_id | No | ID of the user | |
| agent_id | No | ID of the agent | |
| due_before | No | Only todos due before this time (ISO) |