Test Workflow Step
test_workflow_stepRun exactly ONE step of a workflow and return what it produced, so you can iterate on a single step's wording without running the steps before it. THIS SPENDS CREDITS EXACTLY LIKE A REAL STEP: the step runs on a real model through the same engine a full run uses and is billed identically -- it is not a simulation, a dry run, or a free preview. If you want to check a workflow's shape, parameters, models and cost estimate for free, use plan_workflow instead; that one runs nothing. Starts no session, so there is nothing to poll and nothing to advance. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | The input the step works on, exactly as you would pass it to run_workflow. Optional -- omit for a step whose instruction already carries everything it needs. | |
| workflow | Yes | The workflow slug (from list_workflows), e.g. 'due_diligence'. | |
| parameters | No | Optional values for the workflow's declared parameters, as a flat name-to-value object, e.g. {"region": "EU"}. They are substituted into the step wording the same way a real run substitutes them. | |
| step_index | Yes | Which step to run, counting from 0. A workflow with 4 steps accepts 0 to 3; anything else is refused without spending. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |