Get recent docket activity
get_recent_case_activityReturn the most recent docket entries in a federal case, each with its entry number, filing date, the text the court published and a link to the source. Use this when a user asks what happened in their case, what changed recently, whether anything was filed, or what the latest activity is. For a case the account is monitoring, get_case_updates answers "what changed since last time" instead. Identify the case with case_number (and court, if known), or with matter_id for a case already saved to the account. No account is needed to give a case number. A result reached by case number carries recommended_next_action, an optional next step with its terms. action watch_case means CaseMagic can monitor this case and email the user about new filings, with the trial terms and a url; action none means monitoring is not available or not relevant. Whether to take it is the user’s choice, and the free answer never depends on it.
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_recent_case_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | The court, as a CourtListener-style code such as cacd, nysd or ilnd. Optional: leave it out when the user does not know which district the case is in. | |
| limit | No | How many entries to return, newest first. Defaults to 10. | |
| since | No | An ISO-8601 timestamp. Only entries filed after it are returned. | |
| 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. | |
| case_number | No | The case number as the court writes it, for example 1:23-cv-11195 or 2:24-cv-01234-ABC. Judge initials are optional and are ignored when matching. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size. | |
| 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. | |
| since | No | The since filter applied, if any. | |
| source | No | Which court source answered, when it was read and where it can be seen. | |
| entries | No | Docket entries, newest first. | |
| case_url | No | The case’s public page on CaseMagic, which offers free email alerts and Watch. | |
| matter_id | No | The account matter id when the case was read through a saved case; null for a lookup. | |
| connect_token | No | Short-lived token for create_case_passport, present on a lookup by case number. | |
| docket_coverage | No | How much of the court docket CaseMagic holds for this case. | |
| what_comes_next | No | One sentence on where to send a user who wants to hear about new filings. | |
| recommended_next_action | No | The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise. |