List Documents
list_documentsDocuments within a docket (or matching a query). Returns title, type (Rule / Proposed Rule / Notice / Supporting), comment counts, posted date, document ID.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"docket_id": "EPA-HQ-OAR-2021-0317",
"document_type": "Proposed Rule"
},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text query across documents | |
| docket_id | No | Filter to one docket | |
| page_size | No | 5-250 | |
| page_number | No | 1-based page | |
| document_type | No | Rule | Proposed Rule | Notice | Supporting & Related Material | Other |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Current page number | |
| total | Yes | Total number of documents matching the query | |
| results | Yes | List of document objects | |
| returned | Yes | Number of results in this response | |
| page_size | Yes | Number of results per page | |
| total_pages | Yes | Total number of pages |