Context Graph
context_graphBuild a context graph to model lateral movement and reachability between agents, servers, credentials, tools, and vulnerabilities, answering what becomes reachable if an agent is compromised.
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 |