Read one version of a bill's text
get_textRead one version of the text of a bill (filed text, committee text, adopted text...): its wording ('fullText'), explanatory memorandum, summaries and the versions it can be compared with (see compare_texts). Use it when the user asks what a bill SAYS. The wording of a law is long: it is returned in windows of 12000 characters; 'contentWindow.nextOffset' gives the 'contentOffset' to read on.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"textId": "<textId>"
},
"name": "get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| textId | Yes | Text identifier: a 'textId' of get_bill ('texts') or of get_vote. | |
| language | No | Language of the content, ISO 639-1 code of one of the 24 languages of the European Union. Default: fr, the language of the sources. Other languages exist for European texts only, when a translation exists. | |
| contentChars | No | Number of characters of 'fullText' to return (default 12000, maximum 30000). | |
| contentOffset | No | Index of the first character of 'fullText' to return. Use the 'nextOffset' of the previous answer's 'contentWindow' to read on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Identifier. | |
| title | No | Title. | |
| billId | No | Identifier of the bill. | |
| number | No | Number of the text. | |
| pdfUrl | No | URL of the PDF at the source. | |
| related | No | Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call. | |
| authorId | No | Identifier of the author in the people registry. | |
| fullText | No | The full text. | |
| billTitle | No | Title of the bill. | |
| roleLabel | No | Role of the text within the bill (French). | |
| sourceUrl | No | URL of the source. | |
| truncated | No | Present when this answer was shortened to stay short: says what was cut and how to get the rest. | |
| typeLabel | No | Kind of text (French). | |
| authorName | No | Name of the author or filer. | |
| filingDate | No | Filing date. | |
| legislature | No | Legislature. | |
| longSummary | No | Long summary. | |
| natureLabel | No | Nature of the text (French). | |
| pdfAvailable | No | True when a PDF is held for the text. | |
| shortSummary | No | Short summary. | |
| contentWindow | No | Which part of the long text field is returned: field, offset, returned, total, nextOffset (absent at the end). | |
| cosignatories | No | Co-signers. | |
| adoptionStatus | No | Adoption status, in the source's words (French). | |
| fullTextFromOcr | No | True when 'fullText' came from optical character recognition (may contain errors). | |
| fullTextFromPdf | No | True when 'fullText' was extracted from the PDF. | |
| publicationDate | No | Publication date. | |
| presentationHtml | No | Presentation of the text, as HTML. | |
| authorIsRapporteur | No | True when the filer is the rapporteur of a committee. | |
| comparableVersions | No | Other versions of the same bill this text can be compared with. | |
| automaticTranslation | No | True when title, summaries or text are machine translations. | |
| explanatoryMemorandum | No | Explanatory memorandum. |