run_task
Execute a single goal on an existing agent until completion, policy denial, or budget stop. Use after creating the agent.
Instructions
Run one goal on an existing agent until completion, policy deny, or budget stop.
Blocks up to 120s. Missing agent_id returns an error object. Use create_agent first. Not for multi-agent orchestration (create_workflow). Side effects: task row + spend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Natural-language goal to execute under budget/policy. | |
| agent_id | Yes | Agent id returned by create_agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||