refresh_index
Rebuild the specification index from PDFs to keep search results current when PDF files are added, removed, or updated.
Instructions
Rebuild the specification index from PDFs.
Use this when PDF files have been added, removed, or updated.
:return: Status message with index statistics :rtype: str :raises ValueError: If specs_dir is not set :raises FileNotFoundError: If PDF file does not exist
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "refresh_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |