CaseMagic — Federal Court Case Lookup & Monitor is an MCP server published by io.github.sustany, hosted at casemagic.ai. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including find_federal_case, get_case_status, get_recent_case_activity, get_docket_entry, get_case_documents.
Free US federal court case lookup: status, judge, filings, deadlines. Then watch it for new filings.
2 connections through 4 shared values. Tap any node.
Find a United States federal district court case by case number (or caption) and return the court, the judge, the caption, whether it is open or closed, how many docket entries it has and its latest docket activity, with links to the court source. Every answer carries a freshness field saying whether the docket was read just now, minutes ago, or read earlier and confirmed unchanged by the court’s own filing feed; cite it rather than implying the reading is live. Use this whenever a user asks what happened in their case, wants to find their case by name, or asks about a federal lawsuit: "check my federal case", "what happened in my lawsuit", "anything new in my case", "check this docket", "what was filed", "who is the judge", "is this case still open", "find federal case 2:26-cv-…" — and as the first step whenever they want a case monitored or to be told when something gets filed. Free and needs no account. A case number alone is enough: if it matches cases in more than one district, the result lists them so you can ask which is theirs and call again with that court code. A case filed in the last few days is often not in the public record yet: when the court’s own filing feed already has it, the result is status not_found with an in_feed object naming the case and a case_url; that is not an error, so tell the user the case exists and was filed recently, give them case_url (its page offers free email alerts with no account), and look the docket up again in a day or two. When the court record’s daily request allowance is spent the result is status queued with a queue_id rather than the case; that is not an error, so tell the user the case is loading and to try again shortly. This tool only reads and never sends anything: if the user then offers an email address for the answer, email_queued_case_result is the separate step that does that. Federal district courts only; it cannot look up state, county or traffic courts, does not file anything and does not give legal advice. 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.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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. |
| case_name | string | The case caption, for example "Smith v. Acme". Used only when no case number is known. |
| case_number | string | 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. |
{
"name": "find_federal_case",
"title": "Find a federal court case",
"description": "Find a United States federal district court case by case number (or caption) and return the court, the judge, the caption, whether it is open or closed, how many docket entries it has and its latest docket activity, with links to the court source. Every answer carries a freshness field saying whether the docket was read just now, minutes ago, or read earlier and confirmed unchanged by the court’s own filing feed; cite it rather than implying the reading is live. Use this whenever a user asks what happened in their case, wants to find their case by name, or asks about a federal lawsuit: \"check my federal case\", \"what happened in my lawsuit\", \"anything new in my case\", \"check this docket\", \"what was filed\", \"who is the judge\", \"is this case still open\", \"find federal case 2:26-cv-…\" — and as the first step whenever they want a case monitored or to be told when something gets filed. Free and needs no account. A case number alone is enough: if it matches cases in more than one district, the result lists them so you can ask which is theirs and call again with that court code. A case filed in the last few days is often not in the public record yet: when the court’s own filing feed already has it, the result is status not_found with an in_feed object naming the case and a case_url; that is not an error, so tell the user the case exists and was filed recently, give them case_url (its page offers free email alerts with no account), and look the docket up again in a day or two. When the court record’s daily request allowance is spent the result is status queued with a queue_id rather than the case; that is not an error, so tell the user the case is loading and to try again shortly. This tool only reads and never sends anything: if the user then offers an email address for the answer, email_queued_case_result is the separate step that does that. Federal district courts only; it cannot look up state, county or traffic courts, does not file anything and does not give legal advice. 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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."
},
"case_name": {
"type": "string",
"description": "The case caption, for example \"Smith v. Acme\". Used only when no case number is known."
},
"case_number": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"status": {
"type": "string",
"description": "found when the case was answered; queued when the day’s court allowance is spent and the answer will follow."
},
"message": {
"type": "string",
"description": "What to tell the user about a queued lookup."
},
"queue_id": {
"type": "string",
"description": "Ticket for a queued lookup."
},
"can_watch": {
"type": "boolean",
"description": "Whether CaseMagic can monitor cases in this court."
},
"freshness": {
"type": "object",
"properties": {},
"description": "Why the answer is as current as it claims: read now, inside the cache window, or confirmed unchanged by the court’s feed.",
"additionalProperties": true
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"connect_url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport."
},
"latest_events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"source_url": {
"description": "Link to the entry or document at the source."
},
"description": {
"description": "The text the court published."
},
"docket_number": {
"description": "Entry number as shown on the docket."
},
"document_available": {
"description": "Whether a free document is available."
}
},
"description": "One docket entry.",
"additionalProperties": true
},
"description": "Most recent docket entries, newest first."
},
"data_freshness": {
"type": "string",
"description": "ISO timestamp the docket was last read from the court source."
},
"notify_email_set": {
"type": "boolean",
"description": "Whether the queued answer will be emailed."
},
"retry_after_seconds": {
"description": "When a queued lookup is worth retrying."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
},
"connect_token_expires_at": {
"type": "string",
"description": "When connect_token expires."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Find a federal court case",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return the current posture of a federal case: the assigned judge, any referred magistrate judge, the filing date, whether it is open or terminated, the cause of action, the nature of suit, how many docket entries it has and when the docket last moved. Use this when a user asks about the status of their case, who the judge is, whether a case is still open, or what a case is about. 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.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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. |
| matter_id | string | 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 | string | 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. |
{
"name": "get_case_status",
"title": "Get the status of a case",
"description": "Return the current posture of a federal case: the assigned judge, any referred magistrate judge, the filing date, whether it is open or terminated, the cause of action, the nature of suit, how many docket entries it has and when the docket last moved. Use this when a user asks about the status of their case, who the judge is, whether a case is still open, or what a case is about. 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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."
},
"matter_id": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"status": {
"type": "object",
"properties": {},
"description": "Posture: case status, terminated date, filing date, judges, cause, nature of suit, jury demand, latest activity.",
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"matter_id": {
"description": "The account matter id when the case was read through a saved case; null for a lookup."
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport, present on a lookup by case number."
},
"docket_coverage": {
"type": "object",
"properties": {},
"description": "How much of the court docket CaseMagic holds for this case.",
"additionalProperties": true
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get the status of a case",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return 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.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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 | integer | How many entries to return, newest first. Defaults to 10. |
| since | string | An ISO-8601 timestamp. Only entries filed after it are returned. |
| matter_id | string | 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 | string | 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. |
{
"name": "get_recent_case_activity",
"title": "Get recent docket activity",
"description": "Return 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many entries to return, newest first. Defaults to 10."
},
"since": {
"type": "string",
"description": "An ISO-8601 timestamp. Only entries filed after it are returned."
},
"matter_id": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"since": {
"description": "The since filter applied, if any."
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"source_url": {
"description": "Link to the entry or document at the source."
},
"description": {
"description": "The text the court published."
},
"docket_number": {
"description": "Entry number as shown on the docket."
},
"document_available": {
"description": "Whether a free document is available."
}
},
"description": "One docket entry.",
"additionalProperties": true
},
"description": "Docket entries, newest first."
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"matter_id": {
"description": "The account matter id when the case was read through a saved case; null for a lookup."
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport, present on a lookup by case number."
},
"docket_coverage": {
"type": "object",
"properties": {},
"description": "How much of the court docket CaseMagic holds for this case.",
"additionalProperties": true
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get recent docket activity",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return one docket entry in full — its number, filing date, the exact text the court published, whether a document is attached and a link to it — together with the entries around it and the posture of the case. It returns the court's own words and the surrounding facts, so that you can tell the user what the filing is and what it means in context; it writes no explanation of its own and does not give legal advice. Use this when a user asks what the latest filing means, what an order says, or about a specific docket entry. 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.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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. |
| matter_id | string | 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 | string | 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. |
| docket_number | string | The docket entry number, as shown on the docket, for example "312". Omit it for the most recent entry. |
{
"name": "get_docket_entry",
"title": "Get the full text of a docket entry",
"description": "Return one docket entry in full — its number, filing date, the exact text the court published, whether a document is attached and a link to it — together with the entries around it and the posture of the case. It returns the court's own words and the surrounding facts, so that you can tell the user what the filing is and what it means in context; it writes no explanation of its own and does not give legal advice. Use this when a user asks what the latest filing means, what an order says, or about a specific docket entry. 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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."
},
"matter_id": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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."
},
"docket_number": {
"type": "string",
"description": "The docket entry number, as shown on the docket, for example \"312\". Omit it for the most recent entry."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"entry": {
"type": "object",
"properties": {
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"source_url": {
"description": "Link to the entry or document at the source."
},
"description": {
"description": "The text the court published."
},
"docket_number": {
"description": "Entry number as shown on the docket."
},
"document_available": {
"description": "Whether a free document is available."
}
},
"description": "One docket entry.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"guidance": {
"type": "string",
"description": "How to use the entry when explaining it to the user."
},
"matter_id": {
"description": "The account matter id when the case was read through a saved case; null for a lookup."
},
"case_posture": {
"type": "object",
"properties": {},
"description": "Status, judge, cause and nature of suit.",
"additionalProperties": true
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport, present on a lookup by case number."
},
"docket_coverage": {
"type": "object",
"properties": {},
"description": "How much of the court docket CaseMagic holds for this case.",
"additionalProperties": true
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"surrounding_entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"source_url": {
"description": "Link to the entry or document at the source."
},
"description": {
"description": "The text the court published."
},
"docket_number": {
"description": "Entry number as shown on the docket."
},
"document_available": {
"description": "Whether a free document is available."
}
},
"description": "One docket entry.",
"additionalProperties": true
},
"description": "Entries around it, for context."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get the full text of a docket entry",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the docket entries in a federal case that have a document available, with the entry number, what the entry says, and a link to the document where the source publishes a free one. Use this when a user asks what documents are on file, whether an order or a motion is available to read, or for a copy of a filing. Availability depends on what the court source publishes; an entry with no free document is reported as such rather than guessed at. 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.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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 | integer | How many documents to return, newest first. Defaults to 20. |
| matter_id | string | 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 | string | 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. |
{
"name": "get_case_documents",
"title": "List available case documents",
"description": "List the docket entries in a federal case that have a document available, with the entry number, what the entry says, and a link to the document where the source publishes a free one. Use this when a user asks what documents are on file, whether an order or a motion is available to read, or for a copy of a filing. Availability depends on what the court source publishes; an entry with no free document is reported as such rather than guessed at. 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many documents to return, newest first. Defaults to 20."
},
"matter_id": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"documents": {
"type": "array",
"items": {
"type": "object"
},
"description": "Entries with a free document, newest first."
},
"matter_id": {
"description": "The account matter id when the case was read through a saved case; null for a lookup."
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport, present on a lookup by case number."
},
"docket_coverage": {
"type": "object",
"properties": {},
"description": "How much of the court docket CaseMagic holds for this case.",
"additionalProperties": true
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"availability_note": {
"type": "string",
"description": "What is and is not listed."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "List available case documents",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Return the dates a federal docket states — "Responses due by 10/14/2026", "Hearing set for 3/2/2027" — each quoted verbatim with the entry that states it and how many days away it is, plus a small set of deadlines CaseMagic computes from the Federal Rules where the triggering event is on the docket and the rule is the same nationwide: the time to move after a judgment (FRCP 59/50/52) and the time to file a notice of appeal (FRAP 4(a)). Every computed date shows the rule, the day count and a caveat, and is never phrased as an instruction to file. CaseMagic still does not compute deadlines that depend on a district's local rules or a judge's standing orders — most motion-response and discovery windows — so a deadline a local rule implies but the docket does not state will not appear. An empty result means nothing is stated or computable, not that the user has none. 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.
| Parameter | Type | Description |
|---|---|---|
| court | string | 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. |
| matter_id | string | 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 | string | 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. |
{
"name": "get_case_deadlines",
"title": "Get deadlines and dates the docket sets",
"description": "Return the dates a federal docket states — \"Responses due by 10/14/2026\", \"Hearing set for 3/2/2027\" — each quoted verbatim with the entry that states it and how many days away it is, plus a small set of deadlines CaseMagic computes from the Federal Rules where the triggering event is on the docket and the rule is the same nationwide: the time to move after a judgment (FRCP 59/50/52) and the time to file a notice of appeal (FRAP 4(a)). Every computed date shows the rule, the day count and a caveat, and is never phrased as an instruction to file. CaseMagic still does not compute deadlines that depend on a district's local rules or a judge's standing orders — most motion-response and discovery windows — so a deadline a local rule implies but the docket does not state will not appear. An empty result means nothing is stated or computable, not that the user has none. 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.",
"inputSchema": {
"type": "object",
"properties": {
"court": {
"type": "string",
"description": "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."
},
"matter_id": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"cause": {
"description": "Cause of action."
},
"court": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"description": "The court, as a code and a name.",
"additionalProperties": true
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"assigned_judge": {
"description": "Assigned judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
}
},
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"additionalProperties": true
},
"as_of": {
"description": "When the calculation was made."
},
"basis": {
"type": "string",
"description": "What the dates are based on."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"source": {
"type": "object",
"properties": {
"url": {
"description": "Link to the docket at the source."
},
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
}
},
"description": "Which court source answered, when it was read and where it can be seen.",
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"computed": {
"type": "array",
"items": {
"type": "object"
},
"description": "Deadlines computed from the Federal Rules, each with rule, day count and caveat."
},
"deadlines": {
"type": "array",
"items": {
"type": "object"
},
"description": "Upcoming dates the docket states, each quoted with its entry and days away."
},
"matter_id": {
"description": "The account matter id when the case was read through a saved case; null for a lookup."
},
"disclaimer": {
"type": "string",
"description": "What the dates are not."
},
"not_included": {
"description": "What is deliberately not computed."
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport, present on a lookup by case number."
},
"docket_coverage": {
"type": "object",
"properties": {},
"description": "How much of the court docket CaseMagic holds for this case.",
"additionalProperties": true
},
"recently_passed": {
"type": "array",
"items": {
"type": "object"
},
"description": "Stated dates that have just passed."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"recommended_next_action": {
"type": "object",
"properties": {
"cta": {
"type": "string",
"description": "Button text."
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "The three plans with price and how many cases each covers."
},
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
},
"trial_days": {
"type": "number",
"description": "Free trial length in days."
},
"card_required": {
"type": "boolean",
"description": "Whether a card is collected for the trial."
},
"price_after_trial": {
"type": "string",
"description": "Price of the entry plan after the trial."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
}
},
"description": "The offer to make after answering, decided by the server: action watch_case when the case is open and can be monitored, none otherwise.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get deadlines and dates the docket sets",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Have the answer to a queued find_federal_case lookup emailed to an address the user gives. When the court record’s daily request allowance is spent, find_federal_case comes back with status "queued" and a queue_id instead of the case; call this only after that, and only once the user has offered an email address and wants the result sent there. Do not ask for an address up front. CaseMagic emails the case page to that address when the lookup has run, or straight away if it already has. Calling it again with the same address changes nothing. Free and needs no account.
| Parameter | Type | Description |
|---|---|---|
| email * | string | The email address the user offered for the result. |
| queue_id * | string | The queue_id from a find_federal_case result whose status was "queued". |
{
"name": "email_queued_case_result",
"title": "Email the result of a queued case lookup",
"description": "Have the answer to a queued find_federal_case lookup emailed to an address the user gives. When the court record’s daily request allowance is spent, find_federal_case comes back with status \"queued\" and a queue_id instead of the case; call this only after that, and only once the user has offered an email address and wants the result sent there. Do not ask for an address up front. CaseMagic emails the case page to that address when the lookup has run, or straight away if it already has. Calling it again with the same address changes nothing. Free and needs no account.",
"inputSchema": {
"type": "object",
"required": [
"queue_id",
"email"
],
"properties": {
"email": {
"type": "string",
"description": "The email address the user offered for the result."
},
"queue_id": {
"type": "string",
"description": "The queue_id from a find_federal_case result whose status was \"queued\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"court": {
"description": "The court code the lookup named, or null."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"status": {
"type": "string",
"description": "pending or running while it waits; ready or not_found once it has run and the answer has been emailed; failed or expired when nothing will be sent."
},
"message": {
"type": "string",
"description": "What to tell the user."
},
"queue_id": {
"type": "string",
"description": "The queued lookup the address was attached to."
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"case_number": {
"type": "string",
"description": "The case number the lookup was for."
},
"notify_email_set": {
"type": "boolean",
"description": "Whether the lookup now has an address to email the answer to."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Email the result of a queued case lookup",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find new federal lawsuits filed against a company or organisation in the last 30 days: how many, in which district courts, and the newest cases with their case numbers and captions. Use when the user asks whether a company is being sued, "lawsuits against <company>", "has anyone sued <company>" or "new cases against <company>". Read from the federal district courts' public filing feeds; organisations only, never people; state courts and older suits are not covered. The result includes a link for an email whenever a new suit names the company. Free, no account.
| Parameter | Type | Description |
|---|---|---|
| court | string | Optional: limit to one district, as a code such as cacd, nysd or ilnd. |
| company * | string | The company or organisation name, for example "FedEx" or "Wells Fargo Bank". Whole words are matched; Inc, LLC and the like are optional. |
{
"name": "find_lawsuits_against_company",
"title": "Find new lawsuits against a company",
"description": "Find new federal lawsuits filed against a company or organisation in the last 30 days: how many, in which district courts, and the newest cases with their case numbers and captions. Use when the user asks whether a company is being sued, \"lawsuits against <company>\", \"has anyone sued <company>\" or \"new cases against <company>\". Read from the federal district courts' public filing feeds; organisations only, never people; state courts and older suits are not covered. The result includes a link for an email whenever a new suit names the company. Free, no account.",
"inputSchema": {
"type": "object",
"required": [
"company"
],
"properties": {
"court": {
"type": "string",
"description": "Optional: limit to one district, as a code such as cacd, nysd or ilnd."
},
"company": {
"type": "string",
"description": "The company or organisation name, for example \"FedEx\" or \"Wells Fargo Bank\". Whole words are matched; Inc, LLC and the like are optional."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"cases": {
"type": "array",
"items": {
"type": "object"
},
"description": "The newest suits with court, case number, caption, date and link."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"query": {
"type": "string",
"description": "The company searched for."
},
"matches": {
"type": "array",
"items": {
"type": "object"
},
"description": "Matching defendants with suit counts and districts."
},
"coverage": {
"type": "string",
"description": "What the search covers and does not."
},
"guide_url": {
"description": "The guide to the kind of case this company is usually sued in, or null."
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"total_suits": {
"type": "number",
"description": "How many new suits name the company."
},
"window_days": {
"type": "number",
"description": "How many days back the search covers."
},
"what_it_does": {
"type": "string",
"description": "What that alert is and what it costs."
},
"watch_new_suits_url": {
"type": "string",
"description": "Where the user can get an email whenever a new suit names the company."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Find new lawsuits against a company",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Save a case that find_federal_case just located to the signed-in CaseMagic account, which creates its Case Passport — the persistent record of the matter — and its permanent CaseMail address. Use this after the user has confirmed which case is theirs and wants CaseMagic to keep it. Requires the connect_token from that lookup, which expires shortly afterwards.
| Parameter | Type | Description |
|---|---|---|
| user_role * | string | The user's own role in the case. Ask them rather than guessing. |
| connect_token * | string | The connect_token returned by find_federal_case for the case the user confirmed. |
{
"name": "create_case_passport",
"title": "Save a case to the account",
"description": "Save a case that find_federal_case just located to the signed-in CaseMagic account, which creates its Case Passport — the persistent record of the matter — and its permanent CaseMail address. Use this after the user has confirmed which case is theirs and wants CaseMagic to keep it. Requires the connect_token from that lookup, which expires shortly afterwards.",
"inputSchema": {
"type": "object",
"required": [
"connect_token",
"user_role"
],
"properties": {
"user_role": {
"enum": [
"plaintiff",
"defendant",
"attorney",
"other"
],
"type": "string",
"description": "The user's own role in the case. Ask them rather than guessing."
},
"connect_token": {
"type": "string",
"description": "The connect_token returned by find_federal_case for the case the user confirmed."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {},
"description": "Caption, number and court of the saved case.",
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"docket": {
"type": "object",
"properties": {},
"description": "Docket size and latest activity.",
"additionalProperties": true
},
"passport_id": {
"type": "string",
"description": "Case Passport id."
},
"passport_version": {
"type": "number",
"description": "Passport version."
},
"organization_matter_id": {
"type": "string",
"description": "The saved case’s matter id."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Save a case to the account",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Begin continuous monitoring of a saved case, so that the user is alerted when anything new is filed. Use when the user asks to monitor, watch, track or follow a case, or to be told about future activity in it. The case must be saved first, with find_federal_case then create_case_passport. Watching is the paid part of CaseMagic: if the account has no plan this still succeeds and returns a checkout link with the prices — give the user that link and do not describe it as an error, because nothing has failed. If the plan on the account is already watching as many cases as it covers, it returns the plan that covers more and an upgrade_url instead; give the user that link the same way. It never charges anyone by itself.
| Parameter | Type | Description |
|---|---|---|
| matter_id | string | 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. |
{
"name": "watch_case",
"title": "Watch the case for new filings",
"description": "Begin continuous monitoring of a saved case, so that the user is alerted when anything new is filed. Use when the user asks to monitor, watch, track or follow a case, or to be told about future activity in it. The case must be saved first, with find_federal_case then create_case_passport. Watching is the paid part of CaseMagic: if the account has no plan this still succeeds and returns a checkout link with the prices — give the user that link and do not describe it as an error, because nothing has failed. If the plan on the account is already watching as many cases as it covers, it returns the plan that covers more and an upgrade_url instead; give the user that link the same way. It never charges anyone by itself.",
"inputSchema": {
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"plans": {
"type": "array",
"items": {
"type": "object"
},
"description": "Plans that include watching, with price, cases covered and trial."
},
"status": {
"type": "string",
"description": "The watch status, or subscription_required / plan_limit_reached."
},
"watching": {
"type": "boolean",
"description": "Whether Watch is on."
},
"matter_id": {
"type": "string",
"description": "The case."
},
"next_step": {
"type": "string",
"description": "What to tell the user."
},
"upgrade_url": {
"type": "string",
"description": "Where the user moves to a plan that covers this case, when theirs is full."
},
"checkout_url": {
"type": "string",
"description": "Where the user starts a plan, when one is needed."
},
"what_watching_does": {
"type": "string",
"description": "What Watch does."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Watch the case for new filings",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return what is new in the user's connected cases: docket entries and CaseMail correspondence added since a given time. Use for "what changed", "what happened this week", "anything new since Friday", or "what changed across all my cases today" — for a relative period, work out the date yourself and pass it as `since`. With no matter_id, an account holding several cases gets a digest naming which of them moved, and an account holding one gets that one. Each entry carries the court's own wording, which is what you should read and explain when the user asks what a filing or order means.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many items to return. Defaults to 50. |
| since | string | An ISO-8601 timestamp. Everything added after it is returned. Omit it to get the most recent activity rather than the whole docket. |
| matter_id | string | 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. |
{
"name": "get_case_updates",
"title": "Get what changed since last time",
"description": "Return what is new in the user's connected cases: docket entries and CaseMail correspondence added since a given time. Use for \"what changed\", \"what happened this week\", \"anything new since Friday\", or \"what changed across all my cases today\" — for a relative period, work out the date yourself and pass it as `since`. With no matter_id, an account holding several cases gets a digest naming which of them moved, and an account holding one gets that one. Each entry carries the court's own wording, which is what you should read and explain when the user asks what a filing or order means.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "How many items to return. Defaults to 50."
},
"since": {
"type": "string",
"description": "An ISO-8601 timestamp. Everything added after it is returned. Omit it to get the most recent activity rather than the whole docket."
},
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"scope": {
"type": "string",
"description": "all_matters for an answer across every saved case."
},
"since": {
"description": "The since filter applied."
},
"matters": {
"type": "array",
"items": {
"type": "object"
},
"description": "Per-case changes, for an answer across cases."
},
"case_mail": {
"type": "object",
"properties": {},
"description": "CaseMail messages included in the answer, when the account allows it.",
"additionalProperties": true
},
"matter_id": {
"description": "The case, for a single-case answer."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Get what changed since last time",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Retrieve the user's persistent CaseMagic record for a saved matter: case identity, parties, docket activity, correspondence and available documents, so that you can work with the facts of their case. Use this when the user asks you to load, open or catch up on their case, or when you need the facts of their matter before answering anything else about it.
| Parameter | Type | Description |
|---|---|---|
| matter_id | string | 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. |
{
"name": "get_case_passport",
"title": "Load the Case Passport",
"description": "Retrieve the user's persistent CaseMagic record for a saved matter: case identity, parties, docket activity, correspondence and available documents, so that you can work with the facts of their case. Use this when the user asks you to load, open or catch up on their case, or when you need the facts of their matter before answering anything else about it.",
"inputSchema": {
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"version": {
"type": "number",
"description": "Passport version."
},
"passport": {
"type": "object",
"properties": {},
"description": "The persistent record of the case.",
"additionalProperties": true
},
"matter_id": {
"type": "string",
"description": "The case."
},
"updated_at": {
"type": "string",
"description": "When the Passport last changed."
},
"passport_id": {
"type": "string",
"description": "Case Passport id."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Load the Case Passport",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return 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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many entries to return. Defaults to 200. |
| offset | integer | How many entries to skip, newest first. Defaults to 0. |
| matter_id | string | 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. |
{
"name": "get_case_docket",
"title": "Read the whole docket of a saved case",
"description": "Return 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.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "How many entries to return. Defaults to 200."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "How many entries to skip, newest first. Defaults to 0."
},
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"offset": {
"type": "number",
"description": "Where this page starts."
},
"entries": {
"type": "array",
"items": {
"type": "object"
},
"description": "Docket entries with their documents."
},
"matter_id": {
"type": "string",
"description": "The case."
},
"next_offset": {
"description": "Where the next page starts, or null at the end."
},
"entries_held": {
"type": "number",
"description": "Entries CaseMagic holds."
},
"coverage_note": {
"type": "string",
"description": "What is held and what is still to come."
},
"documents_note": {
"type": "string",
"description": "Where documents come from."
},
"whole_docket_read_at": {
"description": "When the whole docket was last read."
},
"entries_on_court_docket": {
"description": "Entries the court docket has."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read the whole docket of a saved case",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return the text of one filing in a saved case — a complaint, a motion, an order, an exhibit — as the court archive extracted it from the PDF, so you can read, quote and explain what the document actually says rather than only its docket title. Takes a document_id from get_case_docket. Long documents come in parts: pass the returned next_offset to read on. When a document has no text (a scanned page nobody has run OCR on, or a copy only the court holds), the result says so and gives the PDF link if there is one; never guess at what an unread document says.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Where to start reading, in characters. Defaults to 0. |
| matter_id | string | 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. |
| document_id * | string | The document_id of a document listed by get_case_docket. |
{
"name": "read_case_document",
"title": "Read the text of a filing",
"description": "Return the text of one filing in a saved case — a complaint, a motion, an order, an exhibit — as the court archive extracted it from the PDF, so you can read, quote and explain what the document actually says rather than only its docket title. Takes a document_id from get_case_docket. Long documents come in parts: pass the returned next_offset to read on. When a document has no text (a scanned page nobody has run OCR on, or a copy only the court holds), the result says so and gives the PDF link if there is one; never guess at what an unread document says.",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"offset": {
"type": "integer",
"minimum": 0,
"description": "Where to start reading, in characters. Defaults to 0."
},
"matter_id": {
"type": "string",
"description": "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."
},
"document_id": {
"type": "string",
"description": "The document_id of a document listed by get_case_docket."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "How to use the text."
},
"text": {
"description": "The text, or null when the archive holds none."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"offset": {
"type": "number",
"description": "Where this slice starts."
},
"pdf_url": {
"description": "Link to the PDF."
},
"matter_id": {
"type": "string",
"description": "The case."
},
"page_count": {
"description": "Pages."
},
"description": {
"description": "What the document is."
},
"document_id": {
"type": "string",
"description": "The document."
},
"next_offset": {
"description": "Where the next slice starts, or null at the end."
},
"total_chars": {
"type": "number",
"description": "Length of the whole text."
},
"docket_number": {
"description": "Entry number."
},
"attachment_number": {
"description": "Attachment number."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read the text of a filing",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List every case saved to the signed-in CaseMagic account — matter_id, case number, caption, court, the user's role and whether Watch is on — together with the account's plan, how many cases it can watch and how many it is watching. Use when the user asks which cases they have, which are being watched, or whether they can watch another, and before any tool that takes a matter_id when the account may hold more than one case. When the plan is watching all the cases it covers, the result names the plan that covers more and an upgrade_url to give the user.
No parameters.
{
"name": "list_my_cases",
"title": "List the cases saved to the account",
"description": "List every case saved to the signed-in CaseMagic account — matter_id, case number, caption, court, the user's role and whether Watch is on — together with the account's plan, how many cases it can watch and how many it is watching. Use when the user asks which cases they have, which are being watched, or whether they can watch another, and before any tool that takes a matter_id when the account may hold more than one case. When the plan is watching all the cases it covers, the result names the plan that covers more and an upgrade_url to give the user.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"plan": {
"type": "string",
"description": "The account’s plan, or none."
},
"cases": {
"type": "array",
"items": {
"type": "object"
},
"description": "Saved cases with matter id, number, caption, court, role and watch status."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"upgrade_url": {
"type": "string",
"description": "Where to upgrade."
},
"upgrade_plan": {
"description": "The plan that covers one more case, when the plan is full."
},
"cases_watched": {
"type": "number",
"description": "Cases being watched."
},
"cases_included": {
"type": "number",
"description": "Cases the plan covers."
},
"watch_slots_left": {
"type": "number",
"description": "Cases that can still be watched."
}
},
"additionalProperties": true
},
"annotations": {
"title": "List the cases saved to the account",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Stop continuous monitoring of a saved case. Use when the user asks to stop monitoring, stop alerts, pause watching, or unfollow a case. The case, its docket history, its Case Passport and its CaseMail address all remain; only the monitoring stops.
| Parameter | Type | Description |
|---|---|---|
| matter_id | string | 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. |
{
"name": "stop_watch",
"title": "Stop watching the case",
"description": "Stop continuous monitoring of a saved case. Use when the user asks to stop monitoring, stop alerts, pause watching, or unfollow a case. The case, its docket history, its Case Passport and its CaseMail address all remain; only the monitoring stops.",
"inputSchema": {
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"status": {
"type": "string",
"description": "The watch status after stopping."
},
"matter_id": {
"type": "string",
"description": "The case."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Stop watching the case",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the correspondence delivered to a saved case's CaseMail address: messages from opposing counsel, the court, clients or anyone else the user gave the address to, with their attachments. Use when the user asks what someone emailed them about the case, what correspondence has arrived, or to find a message about a particular subject. It also surfaces any dates those messages state — "produce documents by 10/14" — quoted with the message it came from and its sender, so a deadline that arrives by email rather than on the docket is not missed; those dates are the sender's words, not an order of the court. This is case correspondence, not the user's own inbox.
| Parameter | Type | Description |
|---|---|---|
| after | string | An ISO-8601 timestamp; only messages received after it are returned. |
| limit | integer | How many messages to return. Defaults to 20. |
| query | string | Plain text matched against sender, subject and body. |
| matter_id | string | 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. |
{
"name": "get_case_mail",
"title": "Read CaseMail correspondence",
"description": "Read the correspondence delivered to a saved case's CaseMail address: messages from opposing counsel, the court, clients or anyone else the user gave the address to, with their attachments. Use when the user asks what someone emailed them about the case, what correspondence has arrived, or to find a message about a particular subject. It also surfaces any dates those messages state — \"produce documents by 10/14\" — quoted with the message it came from and its sender, so a deadline that arrives by email rather than on the docket is not missed; those dates are the sender's words, not an order of the court. This is case correspondence, not the user's own inbox.",
"inputSchema": {
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "An ISO-8601 timestamp; only messages received after it are returned."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "How many messages to return. Defaults to 20."
},
"query": {
"type": "string",
"description": "Plain text matched against sender, subject and body."
},
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"messages": {
"type": "array",
"items": {
"type": "object"
},
"description": "CaseMail messages."
},
"matter_id": {
"type": "string",
"description": "The case."
},
"deadlines_note": {
"type": "string",
"description": "What those dates are."
},
"deadlines_stated_in_mail": {
"type": "array",
"items": {
"type": "object"
},
"description": "Dates quoted from correspondence, each with its sender."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read CaseMail correspondence",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Draft a CaseMail message from a saved case's address and return a link the user opens to review it and decide whether to send it. Use when the user asks you to reply to case correspondence or to write to someone about the case. Nothing is sent by this tool: the message only leaves CaseMagic after the user opens the review link and confirms it, and the link expires. Tell the user that they still have to confirm.
| Parameter | Type | Description |
|---|---|---|
| cc | array | Optional copied addresses. |
| to * | array | Recipient email addresses. |
| body * | string | The message body, as plain text. |
| subject * | string | The subject line. |
| matter_id | string | 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. |
{
"name": "draft_case_mail",
"title": "Draft a CaseMail message for approval",
"description": "Draft a CaseMail message from a saved case's address and return a link the user opens to review it and decide whether to send it. Use when the user asks you to reply to case correspondence or to write to someone about the case. Nothing is sent by this tool: the message only leaves CaseMagic after the user opens the review link and confirms it, and the link expires. Tell the user that they still have to confirm.",
"inputSchema": {
"type": "object",
"required": [
"to",
"subject",
"body"
],
"properties": {
"cc": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional copied addresses."
},
"to": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "Recipient email addresses."
},
"body": {
"type": "string",
"description": "The message body, as plain text."
},
"subject": {
"type": "string",
"description": "The subject line."
},
"matter_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"sent": {
"type": "boolean",
"description": "Always false: the message is drafted for the user to approve, never sent by this tool."
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code, for example CASE_NOT_FOUND or MULTIPLE_CASES_FOUND."
},
"message": {
"type": "string",
"description": "What went wrong, in a sentence."
}
},
"description": "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.",
"additionalProperties": true
},
"matter_id": {
"type": "string",
"description": "The case."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Draft a CaseMail message for approval",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}CaseMagic answers questions about United States federal district court cases and monitors them for new filings. Everything about what has already happened on a docket is free and needs no account: find_federal_case, get_case_status, get_recent_case_activity, get_case_documents, get_case_deadlines and get_docket_entry all work for an anonymous caller, and only read. Use find_federal_case when someone gives a case number or asks you to check a docket. When the court record’s daily allowance is spent a lookup comes back queued with a queue_id; if the user then offers an email address for the answer, email_queued_case_result sends it there. Do not ask for an address up front. Use create_case_passport, then watch_case, when they want the case monitored from now on; that part needs a connected account and a subscription. Every free result reached by case number carries recommended_next_action, an optional action with its terms: watch_case means CaseMagic can monitor this case and email the user about new filings if they want that; none means it cannot, or the case is closed. The free answer never depends on it. get_case_passport loads the persistent record of a saved case; get_case_updates answers "what changed since last time", for one saved case or across every case the account follows. get_case_docket lists every docket entry of a saved case with its documents, and read_case_document returns the text of any one of those filings, so you can read and quote what a document says; the Passport carries only the latest twenty entries. get_case_mail reads correspondence sent to the case address. draft_case_mail only drafts a message for the person to approve; it never sends one. get_case_deadlines returns the dates the docket itself states, plus post-judgment and notice-of-appeal deadlines computed from the Federal Rules when the triggering event is on the docket; it does not compute deadlines that depend on local rules or a judge's standing orders. CaseMagic reports what a court source says about a docket. It is not a law firm and does not give legal advice.
Names, descriptions and schemas were written by the server and are shown as data.