orchestrator_validate_agent_dag
Validates multi-agent execution DAGs before orchestration by detecting cycles, checking critical-path latency budgets, enforcing HTTPS agent-card URLs, and flagging scope widening.
Instructions
Static & runtime validator for multi-agent A2A execution DAGs (nodes[] with agent_card_url, scopes[], timeout_ms; edges[] from -> to) — runs Kahn's topological sort to catch cycles, computes critical-path latency budget, flags S4-REJECT-005 / non-HTTPS agent-card URLs, and flags confused-deputy scope widening (child_scopes - parent_scopes).
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": {
"nodes": "<nodes>"
},
"name": "orchestrator_validate_agent_dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | Directed dependency edges (`{from, to}`). | |
| nodes | Yes | List of agent DAG nodes (`{id, agent_card_url, scopes?, timeout_ms?, agent_card?}`). | |
| max_budget_ms | No | Maximum allowed critical-path execution latency in milliseconds. |