Check an agent run
check_agent_runUse this to check a background agent run started by run_agent, when the user asks whether it is done or what it found. Returns its status, the final answer when finished, and a link to view it in Xenition. An unknown id is reported as not found, not as still working.
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": {
"missionId": "<missionId>"
},
"name": "check_agent_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| missionId | Yes | the job id returned by run_agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | ||
| goal | No | ||
| agent | No | ||
| error | No | ||
| answer | No | ||
| failed | Yes | ||
| status | Yes | ||
| openUrl | No | ||
| missionId | Yes |