Run Workflow
run_workflowExecute sequential multi-step workflows that call MCP tools, pass prior step outputs into later steps, and validate required scopes before any tool runs.
Instructions
Execute a sequential multi-step workflow pipeline.
Each step calls an MCP tool, optionally extracts a value from the result, and stores it under output_key. Later steps can reference prior outputs via $steps.{output_key}.{field} in params.
Scope enforcement: every step tool is checked against user_scopes before execution. If the caller lacks required scopes for any step, the workflow is rejected before any tool runs.
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": {
"access_token": "<access_token>",
"steps": "<steps>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| user_scopes | No | ||
| access_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||