fr_judilibre_decision

Pack: fr-judilibre · 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/fr_judilibre_decision for the schema, then POST the same URL with its arguments for the data.

Read one French judicial decision by id (from fr_judilibre_search): full pseudonymised text, its structural zones (introduction/exposé/moyens/motivations/dispositif/annexes as character offsets into text), the texts it applies (visa, with best-effort cited_articles linking to @pipeworx/france-legi’s code+article), related decisions (contested, forward, rapprochements) and attached files.

Parameters

NameTypeRequiredDescription
idstringyesThe decision id, from a fr_judilibre_search result.
resolve_referencesbooleannoWhen true, the source resolves linked decision/text references inline instead of leaving them as bare ids (default false).

Example call

Arguments

{
  "id": "5fca7d162a251e6bf9c78514"
}

curl

curl -X POST https://gateway.pipeworx.io/fr-judilibre/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fr_judilibre_decision","arguments":{"id":"5fca7d162a251e6bf9c78514"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fr_judilibre_decision', {
  "id": "5fca7d162a251e6bf9c78514"
});

Response shape

FieldTypeDescription
idstring
jurisdictionstring
chamberstring
formationstring
numberstring
numbersarray
eclistring
nacunknownNull in every sampled response; type not observed, so left unconstrained.
decision_datestring
decision_datetimestring
update_datestring
update_datetimestring
typestring
solutionstring
publicationarray
summarystring
themesarray
textstring
text_lengthnumber
zonesobject
visaarray
cited_articlesarray
cited_articles_notestring
contestedobject
forwardunknownNull in every sampled response; type not observed, so left unconstrained.
rapprochementsarray
filesarray
languagestring
sourcestring
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "jurisdiction": {
      "type": "string"
    },
    "chamber": {
      "type": "string"
    },
    "formation": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "numbers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ecli": {
      "type": "string"
    },
    "nac": {
      "description": "Null in every sampled response; type not observed, so left unconstrained."
    },
    "decision_date": {
      "type": "string"
    },
    "decision_datetime": {
      "type": "string"
    },
    "update_date": {
      "type": "string"
    },
    "update_datetime": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "solution": {
      "type": "string"
    },
    "publication": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "summary": {
      "type": "string"
    },
    "themes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "text": {
      "type": "string"
    },
    "text_length": {
      "type": "number"
    },
    "zones": {
      "type": "object",
      "properties": {
        "introduction": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        },
        "expose": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        },
        "moyens": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        },
        "motivations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        },
        "dispositif": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        },
        "annexes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "visa": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          }
        }
      }
    },
    "cited_articles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "raw_title": {
            "type": "string"
          },
          "parsed": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "article": {
            "type": "string"
          }
        }
      }
    },
    "cited_articles_note": {
      "type": "string"
    },
    "contested": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "jurisdiction": {
          "type": "string"
        },
        "chamber": {
          "type": "string"
        },
        "solution": {
          "type": "string"
        },
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "Null in every sampled response; type not observed, so left unconstrained."
        }
      }
    },
    "forward": {
      "description": "Null in every sampled response; type not observed, so left unconstrained."
    },
    "rapprochements": {
      "type": "array",
      "items": {}
    },
    "files": {
      "type": "array",
      "items": {}
    },
    "language": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    }
  }
}

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 fr-judilibre pack
{
  "mcpServers": {
    "fr-judilibre": {
      "url": "https://gateway.pipeworx.io/fr-judilibre/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 6, 2026