run_agentic_workflow
Execute caller-supplied approved typed tool calls in bounded stage order, or return a plan when no calls are provided. Approval gates pause the workflow until the caller approves.
Instructions
Execute caller-supplied approved typed toolCalls in bounded stage order, or return a plan if no calls are supplied. Use when the client has already selected inputs and allowed tools; describe_agentic_workflow only inspects the manifest. The tool does not autonomously invent calls, and approval gates pause rather than self-approve.
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": {
"runId": "<runId>",
"objective": "<objective>",
"agentMode": "<agentMode>",
"approvedToolNames": "<approvedToolNames>",
"requireHumanApproval": "<requireHumanApproval>"
},
"name": "run_agentic_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| agentMode | Yes | Choose deterministic policy execution or an enabled LLM-assisted mode. | |
| objective | Yes | Research objective supplied by the caller to label the bounded workflow. | |
| toolCalls | No | Typed, caller-selected tool invocations to execute in stage order. | |
| approvedToolNames | Yes | Exact tool names the caller permits this workflow to invoke. | |
| requireHumanApproval | Yes | Pause at gated workflow stages until the caller supplies approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |