get_ruling
Pack: it-admin-courts · 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/get_ruling for the schema, then POST the same URL with its arguments for the data.
Read the full text of one Italian administrative-court ruling found with search_rulings: pass its case_key, file and schema as returned there. Returns the court, ECLI where present, and the ruling text (truncated at max_chars). Source: Giustizia Amministrativa.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
schema | string | yes | Court code from search_rulings, e.g. “tar_rm” or “cds” |
case_key | string | yes | Case number (nrg) from search_rulings, e.g. “202604234” |
file | string | yes | File name from search_rulings, e.g. “202611921_01.html” |
max_chars | number | no | Characters of text to return (1000-60000, default 15000) |
Example call
Arguments
{
"schema": "tar_bs",
"case_key": "202500842",
"file": "202601116_01.html",
"max_chars": 3000
}
curl
curl -X POST https://gateway.pipeworx.io/it-admin-courts/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_ruling","arguments":{"schema":"tar_bs","case_key":"202500842","file":"202601116_01.html","max_chars":3000}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_ruling', {
"schema": "tar_bs",
"case_key": "202500842",
"file": "202601116_01.html",
"max_chars": 3000
});
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 it-admin-courts pack
{
"mcpServers": {
"it-admin-courts": {
"url": "https://gateway.pipeworx.io/it-admin-courts/mcp"
}
}
}
See Getting Started for client-specific install steps.