Search a document
search_documentFind text in one document; returns the matching blocks as {id, type, snippet}.
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": {
"documentId": "<documentId>",
"query": "<query>"
},
"name": "search_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The text to find. | |
| documentId | Yes | The document id. |