search-pdf
Find specific text within PDF files to locate information quickly. Returns matching text with context and page numbers for precise reference.
Instructions
Search for specific text within a PDF file. Returns matching text with context and page numbers.
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": {
"file": "<file>",
"query": "<query>"
},
"name": "search-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the PDF file to search in | |
| query | Yes | Text to search for | |
| case_sensitive | No | Case sensitive search. Default: false | |
| whole_word | No | Match whole words only. Default: false |