Text of a document (attachment)
raad_documentReturns the text of an attachment to an agenda item, in chunks of at most 30,000 characters. With zoek= you get only the passages containing those words and their position, instead of the whole document: much faster for long documents. The document_id appears with document hits from raad_zoeken and with the documents in raad_komend. The text is extracted automatically from the file; recognised tables have " | " between the columns.
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": {
"document_id": "<document_id>"
},
"name": "raad_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoek | No | Search within this document, e.g. kunstgras 883. Returns the best passages with their position (vanaf). | |
| vanaf | No | Start position in characters, default 0 | |
| tekens | No | Number of characters, default 12000 | |
| document_id | Yes | Document id from raad_zoeken or raad_komend |