kb_reindex
Updates the search index by scanning the whole drive, useful after bulk file copies or for a full rebuild. Runs in the background and returns progress.
Instructions
Scan the whole drive and bring the search index up to date.
Rarely needed: added/imported/moved files are indexed immediately, and a
catch-up scan runs by itself whenever the drive is plugged in. Use it after
copying many files onto the drive with Finder, or with full=True to
rebuild. Runs in the background; this call waits up to wait_seconds
(0-50) and otherwise returns progress -- follow it with kb_status.
:param full: When true, re-extract every file instead of only changed ones. :param wait_seconds: How long to wait for completion before returning.
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": "kb_reindex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |