Search documents
search_documentsFind passages about a topic in disclosure attachments and return short snippets with page numbers and source URLs, avoiding the need to open entire documents.
Instructions
Find passages inside disclosure attachments and return short snippets with page numbers and source_url instead of whole documents. Use for 'what does the report say about X'.
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": {
"query": "<query>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Words to find (any word matches; Turkish-insensitive) | |
| max_results | No | ||
| attachment_id | No | …or a single attachment | |
| context_chars | No | Snippet length around each match | |
| disclosure_id | No | Search all attachments of this disclosure |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||