Wait for an index to build
wait_for_indexPoll an index until its build is ready or has failed. Every poll is a metered request (starting 1 second apart, slowing to 10 seconds); the result says how many were made. A failed build is an error; running out of time returns timedOut: true with buildStatus "building".
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": "wait_for_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | The list: its id or pathName | |
| index | Yes | The index: its id or pathName | |
| timeoutSeconds | No | How long to wait (1-120 seconds) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| polls | Yes | ||
| buildStatus | Yes |