Run an agent on a chosen model
run_agentExecute a host project's agent definition against a chosen model and return the result with the model actually used, so you can verify routing.
Instructions
Executes an agent definition from the host project against a model you name. Returns the result plus the model actually used, so routing is verifiable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The instruction, including the desired output contract | |
| agent | Yes | File stem under the agents directory, e.g. "Explorer" | |
| model | No | Tier name (cheap, default, strong) or an allow-listed model id | |
| maxRounds | No | Tool rounds before stopping (default 4) |