get_task
Monitor Elasticsearch long-running tasks (reindex, update_by_query, delete_by_query) for progress and errors. Provide a task ID and optionally wait for completion.
Instructions
Poll a long-running task (reindex, update_by_query, delete_by_query) for progress and errors.
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": {
"task_id": "<task_id>"
},
"name": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| wait_for_completion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |