orchestrator_render_mermaid_trace
Render GitHub-compatible Mermaid state or flowchart diagrams for A2A task transition audits and validated multi-agent DAGs, highlighting critical paths and scope-widening edges.
Instructions
Render a clean GitHub-compatible Mermaid stateDiagram-v2 (task transition audit trail or canonical A2A v1.0.1 FSM) or flowchart LR visualization (validated multi-agent DAG highlighting critical path and scope-widening edges).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "orchestrator_render_mermaid_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Diagram mode (`task_fsm` -> `stateDiagram-v2`, `agent_dag` -> `flowchart LR`). | |
| edges | No | Multi-agent DAG edges when `mode='agent_dag'`. | |
| nodes | No | Multi-agent DAG nodes when `mode='agent_dag'`. | |
| task_id | No | Optional stored `task_id` to render step-by-step CAS transitions. | |
| tenant_id | No | Tenant namespace when rendering a stored `task_id`. | |
| max_budget_ms | No | Critical-path budget ceiling in milliseconds for `agent_dag` rendering. |