Run Agent Task Now
run_agent_task_nowStart one run of a scheduled task now, outside its schedule. The run does what the task's instructions say under the agent's permissions, so it can message people and it uses agent credits. Waits up to 15 seconds: it returns the finished task, or running true while the run goes on. Follow it with get_agent_task.
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": {
"agent_id": "<agent_id>",
"task_id": "<task_id>"
},
"name": "run_agent_task_now"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task id, from list_agent_tasks. | |
| agent_id | Yes | The agent id, from list_agents. |