List items
list_itemsList items from a collection with filters, sorting and pagination.
filters is a JSON object with keys from list_collections, e.g. {"jurisdictionSlug": "CALIFORNIA", "isCurrentSession": true}; enum values accept lowercase. Page with first/after (totalCount, hasNextPage, nextOffset). response_format "concise" or "detailed"; "full" is get_item only. To count bills per jurisdiction or session, list bill_stats.
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": {
"collection": "<collection>"
},
"name": "list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| first | No | ||
| filters | No | ||
| collection | Yes | ||
| sort_field | No | ||
| sort_direction | No | ASC | |
| response_format | No | Selection-set size for get/list/search results. | concise |