Rebuild a failed index
rebuild_indexStart a new build of an index whose last build failed, once the cause is fixed (failed builds are never retried by themselves). An index that isn't failed is refused with INDEX_BUILD_NOT_FAILED. With wait: true this polls until it's built, 1 request per poll. 1 request, plus the polls.
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": {
"list": "<list>",
"index": "<index>"
},
"name": "rebuild_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | The list: its id or pathName | |
| wait | No | Wait (up to 30 seconds) for the build to finish, polling with metered requests | |
| index | Yes | The index: its id or pathName |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| buildStatus | Yes |