Run an agent
run_agentUse this when the user wants one of their Xenition agents to work on a task in the background (research can take a few minutes). Returns a run id right away; progress, the final result and a link appear as it finishes, and check_agent_run reports on it. Call list_agents first if you do not know the agent.
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": {
"slug": "<slug>"
},
"name": "run_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | the agent's slug (from list_agents) | |
| input | No | the task/prompt for the 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 |