index_directory
Recursively indexes text files in a directory, clearing and rebuilding the index for Japanese full-text search.
Instructions
Recursively indexes all text files in the given root_path.
WARNING: This will remove all existing index entries that start with this root_path before re-indexing.
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": {
"root_path": "<root_path>"
},
"name": "index_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |