Search Comments
search_commentsPublic comments filed on a docket or document. Filter by docketId, documentId (e.g., "EPA-HQ-OAR-2021-0317-0001"), free-text, or date.
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"
},
"name": "search_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text query | |
| docket_id | No | Filter to a docket | |
| page_size | No | 5-250 | |
| posted_to | No | YYYY-MM-DD | |
| document_id | No | Filter to a single document | |
| page_number | No | 1-based page | |
| posted_from | No | YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Current page number | |
| total | Yes | Total number of comments matching the query | |
| results | Yes | List of comment objects | |
| returned | Yes | Number of results in this response | |
| page_size | Yes | Number of results per page | |
| total_pages | Yes | Total number of pages |