Context Graph
context_graphMaps agent-environment connectivity to compute lateral movement paths, returning a JSON graph with nodes, edges, risks, and statistics.
Instructions
Build an agent context graph with lateral movement analysis.
Models reachability between agents, servers, credentials, tools,
and vulnerabilities. Answers: "If agent X is compromised, what
else becomes reachable?"
Returns:
JSON with nodes, edges, lateral_paths, interaction_risks, and stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Max BFS depth for lateral path discovery (1-6, default 4). | |
| config_path | No | Path to MCP config directory. Omit to auto-discover. | |
| source_agent | No | Agent name to compute lateral paths from. Omit for all agents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |