CaseMagic — Federal Court Case Lookup & Monitor
Free US federal court case lookup: status, judge, filings, deadlines. Then watch it for new filings.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"casemagic": {
"url": "https://casemagic.ai/mcp"
}
}
}リモートエンドポイント
https://casemagic.ai/mcpstreamable-httpできること
ツール一覧
ツール(17)
🟢find_federal_case(case_number, court, case_name, notify_email)
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. 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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
},
"notify_email": {
"type": "string",
"description": "An email address to send the result to if the court record's daily request allowance is spent and this lookup has to be queued. Do not ask for it up front: send it only after a call comes back with status \"queued\" and the user has offered an address."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "found when the case was answered; queued when the day’s court allowance is spent and the answer will follow."
},
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"latest_events": {
"type": "array",
"description": "Most recent docket entries, newest first.",
"items": {
"type": "object",
"description": "One docket entry.",
"properties": {
"docket_number": {
"description": "Entry number as shown on the docket."
},
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"description": {
"description": "The text the court published."
},
"document_available": {
"description": "Whether a free document is available."
},
"source_url": {
"description": "Link to the entry or document at the source."
}
},
"additionalProperties": true
}
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"data_freshness": {
"type": "string",
"description": "ISO timestamp the docket was last read from the court source."
},
"freshness": {
"type": "object",
"description": "Why the answer is as current as it claims: read now, inside the cache window, or confirmed unchanged by the court’s feed.",
"properties": {},
"additionalProperties": true
},
"connect_token": {
"type": "string",
"description": "Short-lived token for create_case_passport."
},
"connect_token_expires_at": {
"type": "string",
"description": "When connect_token expires."
},
"can_watch": {
"type": "boolean",
"description": "Whether CaseMagic can monitor cases in this court."
},
"connect_url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"queue_id": {
"type": "string",
"description": "Ticket for a queued lookup."
},
"retry_after_seconds": {
"description": "When a queued lookup is worth retrying."
},
"notify_email_set": {
"type": "boolean",
"description": "Whether the queued answer will be emailed."
},
"message": {
"type": "string",
"description": "What to tell the user about a queued lookup."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_status(case_number, court, matter_id)
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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"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."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"docket_coverage": {
"type": "object",
"description": "How much of the court docket CaseMagic holds for this case.",
"properties": {},
"additionalProperties": true
},
"status": {
"type": "object",
"description": "Posture: case status, terminated date, filing date, judges, cause, nature of suit, jury demand, latest activity.",
"properties": {},
"additionalProperties": true
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_recent_case_activity(case_number, court, matter_id, limit, since)
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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"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."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"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."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"docket_coverage": {
"type": "object",
"description": "How much of the court docket CaseMagic holds for this case.",
"properties": {},
"additionalProperties": true
},
"since": {
"description": "The since filter applied, if any."
},
"entries": {
"type": "array",
"description": "Docket entries, newest first.",
"items": {
"type": "object",
"description": "One docket entry.",
"properties": {
"docket_number": {
"description": "Entry number as shown on the docket."
},
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"description": {
"description": "The text the court published."
},
"document_available": {
"description": "Whether a free document is available."
},
"source_url": {
"description": "Link to the entry or document at the source."
}
},
"additionalProperties": true
}
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢explain_docket_entry(case_number, court, matter_id, docket_number)
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, so that you can explain to the user what the filing is and what it means in context. Use this when a user asks what the latest filing means, what an order says, or to explain a specific docket entry. CaseMagic returns the court's own words and the surrounding facts; it does not write the explanation and does not give legal advice. 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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
},
"docket_number": {
"type": "string",
"description": "The docket entry number to explain, as shown on the docket, for example \"312\". Omit it for the most recent entry."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"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."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"docket_coverage": {
"type": "object",
"description": "How much of the court docket CaseMagic holds for this case.",
"properties": {},
"additionalProperties": true
},
"entry": {
"type": "object",
"description": "One docket entry.",
"properties": {
"docket_number": {
"description": "Entry number as shown on the docket."
},
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"description": {
"description": "The text the court published."
},
"document_available": {
"description": "Whether a free document is available."
},
"source_url": {
"description": "Link to the entry or document at the source."
}
},
"additionalProperties": true
},
"surrounding_entries": {
"type": "array",
"description": "Entries around it, for context.",
"items": {
"type": "object",
"description": "One docket entry.",
"properties": {
"docket_number": {
"description": "Entry number as shown on the docket."
},
"filed_at": {
"description": "ISO timestamp the entry was filed."
},
"description": {
"description": "The text the court published."
},
"document_available": {
"description": "Whether a free document is available."
},
"source_url": {
"description": "Link to the entry or document at the source."
}
},
"additionalProperties": true
}
},
"case_posture": {
"type": "object",
"description": "Status, judge, cause and nature of suit.",
"properties": {},
"additionalProperties": true
},
"guidance": {
"type": "string",
"description": "How to explain the entry."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_documents(case_number, court, matter_id, limit)
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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "How many documents to return, newest first. Defaults to 20."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"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."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"docket_coverage": {
"type": "object",
"description": "How much of the court docket CaseMagic holds for this case.",
"properties": {},
"additionalProperties": true
},
"documents": {
"type": "array",
"description": "Entries with a free document, newest first.",
"items": {
"type": "object"
}
},
"availability_note": {
"type": "string",
"description": "What is and is not listed."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_deadlines(case_number, court, matter_id)
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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"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."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"description": "The case: court, case number, caption, filing date, status, judges, nature of suit, latest activity and docket size.",
"properties": {
"id": {
"type": "string",
"description": "CaseMagic id of the court case."
},
"court": {
"type": "object",
"description": "The court, as a code and a name.",
"properties": {
"code": {
"type": "string",
"description": "Court code, e.g. nysd."
},
"name": {
"type": "string",
"description": "Court name."
}
},
"additionalProperties": true
},
"case_number": {
"type": "string",
"description": "Case number as the court writes it."
},
"case_name": {
"type": "string",
"description": "Caption."
},
"case_status": {
"description": "open, terminated, or null when the source does not say."
},
"filing_date": {
"description": "ISO date the case was filed."
},
"terminated_date": {
"description": "ISO date the case was terminated, or null while it is open."
},
"latest_activity_at": {
"description": "ISO timestamp of the latest docket activity."
},
"assigned_judge": {
"description": "Assigned judge."
},
"referred_judge": {
"description": "Referred magistrate judge."
},
"nature_of_suit": {
"description": "Nature of suit."
},
"cause": {
"description": "Cause of action."
},
"docket_entry_count": {
"description": "How many entries the court docket has."
}
},
"additionalProperties": true
},
"source": {
"type": "object",
"description": "Which court source answered, when it was read and where it can be seen.",
"properties": {
"name": {
"type": "string",
"description": "Source name."
},
"retrieved_at": {
"description": "ISO timestamp of the read."
},
"url": {
"description": "Link to the docket at the source."
}
},
"additionalProperties": true
},
"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."
},
"recommended_next_action": {
"type": "object",
"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.",
"properties": {
"action": {
"type": "string",
"description": "watch_case or none."
},
"reason": {
"type": "string",
"description": "Why, in a sentence the assistant can repeat."
},
"offer": {
"type": "string",
"description": "What monitoring does."
},
"cta": {
"type": "string",
"description": "Button text."
},
"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."
},
"plans": {
"type": "array",
"description": "The three plans with price and how many cases each covers.",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"description": "Where the user starts watching this case."
},
"suggested_message": {
"type": "string",
"description": "One sentence the assistant may say, once."
},
"guidance": {
"type": "string",
"description": "How to make the offer."
}
},
"additionalProperties": true
},
"case_url": {
"type": "string",
"description": "The case’s public page on CaseMagic, which offers free email alerts and Watch."
},
"what_comes_next": {
"type": "string",
"description": "One sentence on where to send a user who wants to hear about new filings."
},
"docket_coverage": {
"type": "object",
"description": "How much of the court docket CaseMagic holds for this case.",
"properties": {},
"additionalProperties": true
},
"deadlines": {
"type": "array",
"description": "Upcoming dates the docket states, each quoted with its entry and days away.",
"items": {
"type": "object"
}
},
"recently_passed": {
"type": "array",
"description": "Stated dates that have just passed.",
"items": {
"type": "object"
}
},
"computed": {
"type": "array",
"description": "Deadlines computed from the Federal Rules, each with rule, day count and caveat.",
"items": {
"type": "object"
}
},
"basis": {
"type": "string",
"description": "What the dates are based on."
},
"as_of": {
"description": "When the calculation was made."
},
"disclaimer": {
"type": "string",
"description": "What the dates are not."
},
"not_included": {
"description": "What is deliberately not computed."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢find_lawsuits_against_company(company, court)
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.
入力スキーマ
{
"type": "object",
"properties": {
"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."
},
"court": {
"type": "string",
"description": "Optional: limit to one district, as a code such as cacd, nysd or ilnd."
}
},
"required": [
"company"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The company searched for."
},
"window_days": {
"type": "number",
"description": "How many days back the search covers."
},
"total_suits": {
"type": "number",
"description": "How many new suits name the company."
},
"matches": {
"type": "array",
"description": "Matching defendants with suit counts and districts.",
"items": {
"type": "object"
}
},
"cases": {
"type": "array",
"description": "The newest suits with court, case number, caption, date and link.",
"items": {
"type": "object"
}
},
"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."
},
"watch_new_suits_url": {
"type": "string",
"description": "Where the user can get an email whenever a new suit names the company."
},
"what_it_does": {
"type": "string",
"description": "What that alert is and what it costs."
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟡create_case_passport(connect_token, user_role)
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.
入力スキーマ
{
"type": "object",
"properties": {
"connect_token": {
"type": "string",
"description": "The connect_token returned by find_federal_case for the case the user confirmed."
},
"user_role": {
"type": "string",
"enum": [
"plaintiff",
"defendant",
"attorney",
"other"
],
"description": "The user's own role in the case. Ask them rather than guessing."
}
},
"required": [
"connect_token",
"user_role"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"organization_matter_id": {
"type": "string",
"description": "The saved case’s matter id."
},
"passport_id": {
"type": "string",
"description": "Case Passport id."
},
"passport_version": {
"type": "number",
"description": "Passport version."
},
"case": {
"type": "object",
"description": "Caption, number and court of the saved case.",
"properties": {},
"additionalProperties": true
},
"docket": {
"type": "object",
"description": "Docket size and latest activity.",
"properties": {},
"additionalProperties": true
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟡watch_case(matter_id)
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.
入力スキーマ
{
"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
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"status": {
"type": "string",
"description": "The watch status, or subscription_required / plan_limit_reached."
},
"watching": {
"type": "boolean",
"description": "Whether Watch is on."
},
"checkout_url": {
"type": "string",
"description": "Where the user starts a plan, when one is needed."
},
"upgrade_url": {
"type": "string",
"description": "Where the user moves to a plan that covers this case, when theirs is full."
},
"plans": {
"type": "array",
"description": "Plans that include watching, with price, cases covered and trial.",
"items": {
"type": "object"
}
},
"what_watching_does": {
"type": "string",
"description": "What Watch does."
},
"next_step": {
"type": "string",
"description": "What to tell the user."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_updates(matter_id, since, limit)
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.
入力スキーマ
{
"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."
},
"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."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many items to return. Defaults to 50."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"description": "The case, for a single-case answer."
},
"scope": {
"type": "string",
"description": "all_matters for an answer across every saved case."
},
"since": {
"description": "The since filter applied."
},
"matters": {
"type": "array",
"description": "Per-case changes, for an answer across cases.",
"items": {
"type": "object"
}
},
"case_mail": {
"type": "object",
"description": "CaseMail messages included in the answer, when the account allows it.",
"properties": {},
"additionalProperties": true
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_passport(matter_id)
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.
入力スキーマ
{
"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
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"passport_id": {
"type": "string",
"description": "Case Passport id."
},
"version": {
"type": "number",
"description": "Passport version."
},
"updated_at": {
"type": "string",
"description": "When the Passport last changed."
},
"passport": {
"type": "object",
"description": "The persistent record of the case.",
"properties": {},
"additionalProperties": true
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_docket(matter_id, offset, limit)
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.
入力スキーマ
{
"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."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "How many entries to skip, newest first. Defaults to 0."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"description": "How many entries to return. Defaults to 200."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"entries": {
"type": "array",
"description": "Docket entries with their documents.",
"items": {
"type": "object"
}
},
"offset": {
"type": "number",
"description": "Where this page starts."
},
"next_offset": {
"description": "Where the next page starts, or null at the end."
},
"entries_held": {
"type": "number",
"description": "Entries CaseMagic holds."
},
"entries_on_court_docket": {
"description": "Entries the court docket has."
},
"whole_docket_read_at": {
"description": "When the whole docket was last read."
},
"coverage_note": {
"type": "string",
"description": "What is held and what is still to come."
},
"documents_note": {
"type": "string",
"description": "Where documents come from."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢read_case_document(matter_id, document_id, offset)
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.
入力スキーマ
{
"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."
},
"document_id": {
"type": "string",
"description": "The document_id of a document listed by get_case_docket."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Where to start reading, in characters. Defaults to 0."
}
},
"required": [
"document_id"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"document_id": {
"type": "string",
"description": "The document."
},
"docket_number": {
"description": "Entry number."
},
"attachment_number": {
"description": "Attachment number."
},
"description": {
"description": "What the document is."
},
"page_count": {
"description": "Pages."
},
"text": {
"description": "The text, or null when the archive holds none."
},
"offset": {
"type": "number",
"description": "Where this slice starts."
},
"next_offset": {
"description": "Where the next slice starts, or null at the end."
},
"total_chars": {
"type": "number",
"description": "Length of the whole text."
},
"pdf_url": {
"description": "Link to the PDF."
},
"note": {
"type": "string",
"description": "How to use the text."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢list_my_cases
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.
入力スキーマ
{
"type": "object",
"properties": {},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"plan": {
"type": "string",
"description": "The account’s plan, or none."
},
"cases_included": {
"type": "number",
"description": "Cases the plan covers."
},
"cases_watched": {
"type": "number",
"description": "Cases being watched."
},
"watch_slots_left": {
"type": "number",
"description": "Cases that can still be watched."
},
"upgrade_plan": {
"description": "The plan that covers one more case, when the plan is full."
},
"upgrade_url": {
"type": "string",
"description": "Where to upgrade."
},
"cases": {
"type": "array",
"description": "Saved cases with matter id, number, caption, court, role and watch status.",
"items": {
"type": "object"
}
},
"next_step": {
"type": "string",
"description": "What to do next."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}⚪stop_watch(matter_id)
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.
入力スキーマ
{
"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
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"status": {
"type": "string",
"description": "The watch status after stopping."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟢get_case_mail(matter_id, after, limit, query)
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.
入力スキーマ
{
"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."
},
"after": {
"type": "string",
"description": "An ISO-8601 timestamp; only messages received after it are returned."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many messages to return. Defaults to 20."
},
"query": {
"type": "string",
"description": "Plain text matched against sender, subject and body."
}
},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"messages": {
"type": "array",
"description": "CaseMail messages.",
"items": {
"type": "object"
}
},
"deadlines_stated_in_mail": {
"type": "array",
"description": "Dates quoted from correspondence, each with its sender.",
"items": {
"type": "object"
}
},
"deadlines_note": {
"type": "string",
"description": "What those dates are."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}🟡send_case_mail(matter_id, to, cc, subject, body)
Write a CaseMail message from a saved case's address and return a link the user opens to review and 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.
入力スキーマ
{
"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."
},
"to": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "Recipient email addresses."
},
"cc": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional copied addresses."
},
"subject": {
"type": "string",
"description": "The subject line."
},
"body": {
"type": "string",
"description": "The message body, as plain text."
}
},
"required": [
"to",
"subject",
"body"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"matter_id": {
"type": "string",
"description": "The case."
},
"sent": {
"type": "boolean",
"description": "Always false: the message is drafted for the user to approve, never sent by this tool."
},
"error": {
"type": "object",
"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.",
"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."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}コミュニティ
エビデンス