execute_api_flow
Runs a sequence of API requests in one MCP call, supporting retries, polling, assertions, optional steps, and stop-on-error to chain tests without manual curl.
Instructions
Run a sequence of requestIds in a single MCP round trip. Pass inline steps, or flowName to run a flow declared under flows: in the definition. Each step supports retry, poll (via jsonPath), an inline assert (same shape as assert_response), optional, and jsonPathSelect to get that step's body back ($ for all of it) without a follow-up call. stopOnError halts at the first failing required step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Inline steps. Provide either `steps` or `flowName`. | |
| flowName | No | Name of a flow declared under `flows:` in the definition. | |
| stopOnError | No | ||
| workspaceRoot | No | Optional when MCP_WORKSPACE_ROOT is set. | |
| responseDetail | No | minimal: requestId/ok/status per step. summary: + durationMs and captured values. per_step: + each step's body (capped). A step's own `jsonPathSelect` returns its body at any level. | summary |
| definitionRelativePath | Yes |