plugin_task
Read a plugin task's status, progress, logs and result, optionally waiting up to 600 seconds for it to finish, or list the thread's recent tasks for that plugin.
Instructions
Read a plugin task (one a plugin method started with ctx.task and returned the id of): status running, done, failed, stopped or interrupted, progress, last log lines and result. wait (seconds, up to 600) holds until the task ends; call again if it is still running. stale: true means no progress for 5 minutes, but it may still finish. Without task, lists this thread's recent tasks for the plugin.
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": {
"id": "<id>"
},
"name": "plugin_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Plugin id from plugin_list, or the id being authored. | |
| task | No | Task id the plugin returned. | |
| wait | No | Seconds to wait for the task to end. Default 0: answer at once. |