list_cards
List cards on a board with optional filter/sort/pagination. Mirrors POST /v1/boards/{id}/query. Filter accepts either the Notion-shape grammar (and/or/property/timestamp per FUNCTIONAL_SPEC §8.3) or the legacy flat-key shape (column_id, status, assignee, archived, due_date).
Each leaf is {property: <name>, <type>: {<operator>: <value>}}. Property names are the board's own property names (case-insensitive); call GET /v1/property-types for the operator vocabulary per type. Common tracker filters:
select (e.g. Priority): {property: 'Priority', select: {equals: 'P0'}}; also does_not_equal / is_empty / is_not_empty. Combine values with or:[...] for any-of.
status/column: {property: 'Status', status: {does_not_equal: 'Done'}}.
multi_select: {property: 'Components', multi_select: {contains: 'backend'}}; also does_not_contain / is_empty / is_not_empty.
checkbox: {property: 'Resolved', checkbox: {equals: false}}.
number: {property: 'Estimate', number: {greater_than_or_equal_to: 3}}.
unique_id: {property: 'Bug ID', unique_id: {equals: 'BUG-12'}}. Values may be the property's full prefixed id ('BUG-12', case-insensitive; a WRONG prefix like 'TASK-12' is a 400), a bare integer (12), or a digit string ('12'); same forms for greater_than/less_than(_or_equal_to).
Example (open P0 bugs): {and: [{property: 'Priority', select: {equals: 'P0'}}, {property: 'Resolved', checkbox: {equals: false}}]}.
Sorts accept a list of {property|timestamp, direction}; title/Name and any board-defined property name are valid sort keys. unique_id sorts NUMERICALLY by counter (BUG-9 before BUG-10), not lexicographically.
Assignee-kind facet (NOV-90): pass {property: 'Assignee kind', assignee_kind: {equals: 'humans'|'agents'|'any'}} inside the Notion-shape filter to restrict cards by whether at least one assignee is a human or an agent. 'any' is a no-op (equivalent to omitting the filter). Each result carries a top-level unique_id: the resolved human key ("BUG-12"), or null when the board defines no unique_id property.
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": {
"board_id": "<board_id>"
},
"name": "list_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | ||
| filter | No | ||
| board_id | Yes | ||
| page_size | No | ||
| start_cursor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||