Get one item
get_itemFetch one item from a collection. Pass id (most collections), slug (sessions; bills take slug only, the number as typed: HR1 is H.R. 1, HRES1 is H.Res. 1) or external_id_source + external_id_value (politicians); bills and constitutions also need jurisdiction_slug. Domain takes a citation key. Statutes and regulations take a search hit's file id. Attachments take the page URL; files take file_id. card names the show_* call that draws the item.
A bare bill slug returns the newest session's bill; pass session_slug for an older one. A bill carries law_references (10, amends and repeals first, with a total; response_format="full" returns up to 50), so you need not page its text to learn what it amends. For lobbying_filings, id is a filing id; response_format="full" adds the excerpts for the bills it names.
response_format: "detailed" (default), "concise" summary fields, "full" adds extra reads (on a bill: summary, history, text versions, votes). Use "full" to brief one item, not to resolve many.
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": "get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| slug | No | ||
| collection | Yes | ||
| session_slug | No | ||
| response_format | No | Selection-set size for get/list/search results. | detailed |
| external_id_value | No | ||
| jurisdiction_slug | No | Jurisdiction slug, enum name or state code (new-york, NEW_YORK, NY). | |
| external_id_source | No |