india_get_judgment
Pack: india-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/india_get_judgment for the schema, then POST the same URL with its arguments for the data.
Fetch the stored text of one Indian court judgment found by india_search_judgments, by its ref (e.g. “delhi:2019:123456”). Returns the case title, court, date, citation, CNR and the judgment text with the passage overlaps removed; long judgments are returned from start_chunk in pieces of max_chars (default 20000) with next_start_chunk to continue. Source: Open India Law (Vaquill AI), CC BY 4.0.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | yes | The ref from india_search_judgments, e.g. “delhi:2019:123456” |
max_chars | number | no | Approximate max characters to return, 500-200000 (default 20000) |
start_chunk | number | no | Continue from this passage number (next_start_chunk of the previous call); default 0 |
Example call
Arguments
{
"ref": "supreme-court:2007:18041",
"max_chars": 3000
}
curl
curl -X POST https://gateway.pipeworx.io/india-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"india_get_judgment","arguments":{"ref":"supreme-court:2007:18041","max_chars":3000}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('india_get_judgment', {
"ref": "supreme-court:2007:18041",
"max_chars": 3000
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
ref | string | |
cnr | string | |
case_title | string | |
court | string | |
decision_date | string | null | |
citation | string | null | |
case_number | string | null | |
disposition | string | null | |
source_url | string | null | |
chunks_total | number | |
chunks_returned | number | |
start_chunk | number | |
text | string | |
truncated | boolean | |
next_start_chunk | number | |
source | string | |
attribution | string | |
data_as_of | string | |
caveat | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"ref": {
"type": "string"
},
"cnr": {
"type": "string"
},
"case_title": {
"type": "string"
},
"court": {
"type": "string"
},
"decision_date": {
"type": [
"string",
"null"
]
},
"citation": {
"type": [
"string",
"null"
]
},
"case_number": {
"type": [
"string",
"null"
]
},
"disposition": {
"type": [
"string",
"null"
]
},
"source_url": {
"type": [
"string",
"null"
]
},
"chunks_total": {
"type": "number"
},
"chunks_returned": {
"type": "number"
},
"start_chunk": {
"type": "number"
},
"text": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"next_start_chunk": {
"type": "number"
},
"source": {
"type": "string"
},
"attribution": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"caveat": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the india-law pack
{
"mcpServers": {
"india-law": {
"url": "https://gateway.pipeworx.io/india-law/mcp"
}
}
}
See Getting Started for client-specific install steps.