Search in Document
search_in_documentSearch terms or phrases across PDF, DOCX, XLSX, and CSV files to locate matches and return ranked snippets with page, paragraph, sheet, or row locations.
Instructions
Mencari istilah/frasa dalam PDF, DOCX, XLSX, dan CSV. Mengembalikan snippet berperingkat dan lokasi halaman/paragraf/sheet/baris.
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": {
"filePath": "<filePath>",
"query": "<query>"
},
"name": "search_in_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| filePath | Yes | Absolute path file di dalam salah satu direktori ALLOWED_DIRS. | |
| maxResults | No |