Get agent task
get_agent_taskFetch the current state and answer of an agent task, including running tasks; set wait: true to wait until it finishes or needs input.
Instructions
Fetch the current state and answer of an agent task, e.g. one that was still running. Pass wait: true to wait until it finishes or needs input.
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": {
"taskId": "<taskId>"
},
"name": "get_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site the request is meant for (e.g. abc.atlassian.net); checked against the sign-in | |
| wait | No | Wait until the task finishes or needs input (up to the ask timeout), following its stream where the agent streams | |
| agent | No | Which agent to use; defaults to "rovo" | |
| target | No | No targets are configured | |
| taskId | Yes | taskId returned by ask_agent |