Preview run cost
preview_run_costEstimate the credit cost of running an agent against a scenario before you start it. See projected credits, current balance, and pending spend.
Instructions
Estimates the credit cost of running an agent against a scenario before triggering it. Returns the estimated credits, your current balance, and any pending committed spend. Optional timeout_minutes (1–240) affects the run-cost estimate.
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": {
"scenario_uuid": "<scenario_uuid>"
},
"name": "preview_run_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_runs | No | Parallel repetitions (default 1). | |
| agent_uuid | No | The agent that would run (optional). | |
| scenario_uuid | Yes | The scenario the run would use. | |
| timeout_minutes | No | Wall-clock budget in minutes for the estimate. |