{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search Indian judgments and statutes: Supreme Court, High Courts, tribunals, central Acts. Up to 5 queries per call, merged and deduplicated, with AND, OR, NOT and \"quoted phrases\". Every word of a query must appear in the judgment, so a sentence finds only very long judgments: use 2 to 5 words courts use for the point (e.g. suppression material fact proposal form insurance), and several short queries rather than one long one. When the papers or the user name a case, search for it by name too; if the name doesn't return the judgment itself, find it through citator. For the leading authorities on a point, call citator with direction=cites on the newest relevant Supreme Court judgment, and direction=cited_by on a leading case for later ones. Filter by court in plain words (\"SC\", \"Delhi HC\", \"all HCs\"), type, dates, judge or title; sort by relevance or date. Every hit has an id for read_document. 20 credits per query per new page; 2 for your own repeat within 24 hours.","input_schema":{"additionalProperties":false,"properties":{"court":{"description":"Courts in plain words: \"SC\", \"Bombay\", \"all HCs\", \"NCLAT\".","items":{"type":"string"},"type":"array"},"cursor":{"description":"From a previous result; replaces every other field.","type":"string"},"dry_run":{"default":false,"description":"Free: return the price and what would be fetched.","type":"boolean"},"facets":{"default":false,"description":"Also list the courts, years, judges and topics the results span.","type":"boolean"},"from":{"description":"Year or date, e.g. \"2015\" or \"2015-06-30\".","type":"string"},"judge":{"description":"Author judge's surname.","type":"string"},"max_credits":{"description":"Refuse, uncharged, if the call would cost more.","minimum":0,"type":"integer"},"output":{"default":"inline","description":"file: everything as a download URL (Markdown or JSONL), not capped.","enum":["inline","file"],"type":"string"},"queries":{"description":"1 to 5 queries; AND, OR, NOT and \"quoted phrases\" work.","items":{"type":"string"},"maxItems":5,"minItems":1,"type":"array"},"response_format":{"default":"concise","description":"concise: one line per item. detailed: full dates, citations, links. json: stable JSON for code.","enum":["concise","detailed","json"],"type":"string"},"sort":{"default":"relevance","enum":["relevance","newest","oldest"],"type":"string"},"title":{"description":"Words in the case title.","type":"string"},"to":{"description":"Year or date, e.g. \"2026-10-31\".","type":"string"},"type":{"default":"judgments","enum":["judgments","statutes","all"],"type":"string"}},"required":[],"type":"object"},"name":"search_law","output_schema":null,"paid":true,"path":"/v1/case-law/search_law","title":"Search Indian case law"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Open judgments or statutes by id or citation (\"(2017) 10 SCC 1\", \"s. 138 NI Act\"). With no other field: an outline under 800 tokens with a map of issues, facts, arguments, reasoning and conclusion. Then read parts, a paragraph range, or find phrases inside the text; parts=[\"details\"] gives metadata only. Up to 10 documents (50 for details). 3 credits to open a document for 7 days, then 1 credit per 4,000 tokens read; details 1 per id; a citation instead of an id 5.","input_schema":{"additionalProperties":false,"properties":{"cursor":{"type":"string"},"dry_run":{"default":false,"description":"Free: return the price and what would be fetched.","type":"boolean"},"find":{"description":"Phrases or terms to find in each document; \"quotes\" for exact phrases.","items":{"type":"string"},"maxItems":5,"type":"array"},"max_credits":{"description":"Refuse, uncharged, if the call would cost more.","minimum":0,"type":"integer"},"max_tokens":{"default":2000,"description":"Tokens of document text to return. Larger values are read as 8000.","maximum":8000,"minimum":200,"type":"integer"},"output":{"default":"inline","description":"file: everything as a download URL (Markdown or JSONL), not capped.","enum":["inline","file"],"type":"string"},"paras":{"description":"Paragraphs like \"p40-p52\" or \"p3,p7-p9\".","type":"string"},"parts":{"items":{"enum":["facts","issues","arguments","statute","precedents","reasoning","conclusion","details","full"],"type":"string"},"type":"array"},"refs":{"description":"Document ids (d143202244), paragraph ids (d143202244#p40) or citations; up to 10, or 50 with parts=[\"details\"].","items":{"type":"string"},"maxItems":50,"minItems":1,"type":"array"},"response_format":{"default":"concise","description":"concise: one line per item. detailed: full dates, citations, links. json: stable JSON for code.","enum":["concise","detailed","json"],"type":"string"}},"required":["refs"],"type":"object"},"name":"read_document","output_schema":null,"paid":true,"path":"/v1/case-law/read_document","title":"Read judgments and statutes"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Who cited a judgment and how (relied on, negative, neutral), or what it cites, with the citing paragraph. Filter by treatment, court and year; output=file exports the whole cited-by set. Treatment labels are automated signals, not verdicts: read the paragraph. 20 credits per page of 10 rows; opening citing judgments for context costs as in read_document. For a research question, use both routes: direction=cites on the newest relevant Supreme Court judgment finds what it relies on; direction=cited_by on a leading case finds later cases applying it.","input_schema":{"additionalProperties":false,"properties":{"context":{"default":false,"description":"Open each citing judgment to show the citing paragraph with its id.","type":"boolean"},"court":{"items":{"type":"string"},"type":"array"},"cursor":{"type":"string"},"direction":{"default":"cited_by","enum":["cited_by","cites"],"type":"string"},"dry_run":{"default":false,"description":"Free: return the price and what would be fetched.","type":"boolean"},"from":{"type":"string"},"max_credits":{"description":"Refuse, uncharged, if the call would cost more.","minimum":0,"type":"integer"},"output":{"default":"inline","description":"file: everything as a download URL (Markdown or JSONL), not capped.","enum":["inline","file"],"type":"string"},"ref":{"description":"A document id or citation.","type":"string"},"response_format":{"default":"concise","description":"concise: one line per item. detailed: full dates, citations, links. json: stable JSON for code.","enum":["concise","detailed","json"],"type":"string"},"to":{"type":"string"},"treatment":{"default":"any","enum":["any","relied","negative","neutral"],"type":"string"}},"required":["ref"],"type":"object"},"name":"citator","output_schema":null,"paid":true,"path":"/v1/case-law/citator","title":"See how later courts treated a case"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Check every citation, quote and paragraph pinpoint in a draft before a human relies on it: SCC, SCC OnLine, AIR, SCR, INSC, Cri LJ and case names with a year. Says verified, wrong_paragraph, quote_not_found, ambiguous, not_found or unverifiable, with the closest passage. Up to 50 citations per call. 10 credits per citation checked plus 3 per judgment newly opened; 5 for one that doesn't resolve (not_found), or 10 when a case-name search ran for it; ambiguous ones are free.","input_schema":{"additionalProperties":false,"properties":{"citations":{"items":{"additionalProperties":false,"properties":{"cite":{"type":"string"},"para":{"type":"string"},"quote":{"type":"string"}},"required":["cite"],"type":"object"},"maxItems":50,"type":"array"},"dry_run":{"default":false,"description":"Free: return the price and what would be fetched.","type":"boolean"},"max_credits":{"description":"Refuse, uncharged, if the call would cost more.","minimum":0,"type":"integer"},"output":{"default":"inline","description":"file: everything as a download URL (Markdown or JSONL), not capped.","enum":["inline","file"],"type":"string"},"response_format":{"default":"concise","description":"concise: one line per item. detailed: full dates, citations, links. json: stable JSON for code.","enum":["concise","detailed","json"],"type":"string"},"text":{"description":"A draft to scan for citations.","maxLength":60000,"type":"string"},"treatment":{"default":false,"description":"Also check for negative treatment: 20 credits per cited judgment.","type":"boolean"}},"required":[],"type":"object"},"name":"check_citations","output_schema":null,"paid":true,"path":"/v1/case-law/check_citations","title":"Check citations in a draft"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Free. Balance in credits and rupees, spend today, prices, any open payment, and for an unclaimed account a link your user can open to claim it (and get 1,000 free credits). recent_days adds daily spend.","input_schema":{"additionalProperties":false,"properties":{"recent_days":{"maximum":90,"minimum":1,"type":"integer"}},"type":"object"},"name":"account","output_schema":{"properties":{"account_id":{"type":"string"},"balance_credits":{"type":"integer"},"balance_inr":{"type":"string"},"brake":{"type":["object","null"]},"claim":{"properties":{"expires_at":{"type":"string"},"next":{"type":"object"},"url":{"type":"string"}},"type":["object","null"]},"claimed":{"type":"boolean"},"limits":{"type":["array","null"]},"open_payment":{"type":["object","null"]},"prices":{"type":"object"},"recent":{"items":{"properties":{"credits":{"type":"integer"},"day":{"type":"string"}},"type":"object"},"type":"array"},"research_questions":{"type":"integer"},"research_questions_text":{"type":"string"},"spent_today_credits":{"type":"integer"},"state":{"enum":["unfunded","funded","claimed","expired"],"type":"string"},"why_this_service":{"type":"string"}},"required":["account_id","state","balance_credits","balance_inr","spent_today_credits","recent","limits","open_payment","claimed","claim","prices","brake"],"type":"object"},"paid":false,"path":"/v1/case-law/account","title":"Account balance and prices"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Free. Returns a payment link and a message to show your user as written; you never pay yourself. With recharge_id, resume and wait=true (exactly as an out-of-credits result says), waits up to 40 seconds for payment, then returns the result of the call that failed, charged at that call's normal price.","input_schema":{"additionalProperties":false,"properties":{"pack":{"description":"Rupees before GST. Omit for the right-sized pack.","enum":["200","500","1000","2000","5000"],"type":"string"},"recharge_id":{"type":"string"},"resume":{"description":"The pending call id from the out-of-credits result.","type":"string"},"wait":{"default":false,"type":"boolean"},"wait_seconds":{"default":40,"maximum":45,"minimum":1,"type":"integer"}},"type":"object"},"name":"recharge","output_schema":{"properties":{"balance_credits":{"description":"Balance right after the payment, before any resumed call.","type":"integer"},"balance_inr":{"type":"string"},"message_for_human":{"type":"string"},"next":{"type":"array"},"payment":{"description":"The payment object: recharge_id, url, amount, credits, expires_at, page_opened.","type":"object"},"recharge_id":{"description":"The recharge this result is about: the one asked for, or the new link's.","type":"string"},"repeat_call":{"type":"boolean"},"resumed":{"properties":{"balance_credits":{"description":"Balance after the resumed call.","type":"integer"},"charge_lines":{"items":{"type":"string"},"type":"array"},"charged_credits":{"description":"Credits the resumed call was charged; 0 if it was not.","type":"integer"},"in_content_blocks":{"type":"boolean"},"result":{"type":["object","null"]},"text":{"type":"string"},"tool":{"type":"string"}},"type":["object","null"]},"status":{"enum":["awaiting_payment","paid","expired","amount_mismatch_held","cancelled"],"type":"string"},"then":{"type":"string"},"why_this_service":{"type":"string"}},"required":["status","recharge_id"],"type":"object"},"paid":false,"path":"/v1/case-law/recharge","title":"Add credits"}]}