Read the whole docket of a saved case
get_case_docketReturn every docket entry CaseMagic holds for a saved case, newest first, each with the court's own wording and the documents filed with it: the main filing and its attachments, how many pages each has, whether a free PDF can be opened, and how much of its text can be read. Use this when the user wants to go through the whole case, find a particular filing, or ask about anything older than the last few entries; get_case_passport carries only the most recent twenty. Each document carries a document_id to pass to read_case_document for its text. The payload says how many entries the court docket has in all, so a docket CaseMagic is still reading is never mistaken for a complete one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_case_docket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many entries to return. Defaults to 200. | |
| offset | No | How many entries to skip, newest first. Defaults to 0. | |
| matter_id | No | The CaseMagic matter id, as returned by create_case_passport or shown in an earlier result. Omit it when the account follows exactly one case and that is the one meant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed: a code, a message and, where there is one, an action such as a link to give the user. | |
| offset | No | Where this page starts. | |
| entries | No | Docket entries with their documents. | |
| matter_id | No | The case. | |
| next_offset | No | Where the next page starts, or null at the end. | |
| entries_held | No | Entries CaseMagic holds. | |
| coverage_note | No | What is held and what is still to come. | |
| documents_note | No | Where documents come from. | |
| whole_docket_read_at | No | When the whole docket was last read. | |
| entries_on_court_docket | No | Entries the court docket has. |