add_index_root
Adds a directory to the persisted search index, indexes its contents recursively, and configures the daemon to watch for changes so new or modified files stay searchable.
Instructions
Add a directory to the index (persisted). Indexes it recursively and asks the daemon to watch it for changes.
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": {
"path": "<path>"
},
"name": "add_index_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a directory to add to (or remove from) the index. |