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

NameTypeRequiredDescription
refstringyesThe ref from india_search_judgments, e.g. “delhi:2019:123456”
max_charsnumbernoApproximate max characters to return, 500-200000 (default 20000)
start_chunknumbernoContinue 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

FieldTypeDescription
foundboolean
refstring
cnrstring
case_titlestring
courtstring
decision_datestring | null
citationstring | null
case_numberstring | null
dispositionstring | null
source_urlstring | null
chunks_totalnumber
chunks_returnednumber
start_chunknumber
textstring
truncatedboolean
next_start_chunknumber
sourcestring
attributionstring
data_as_ofstring
caveatstring
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.

Regenerated from source · build November 11, 2026