Skip to content

dependents

Graph · From docs/MCP_TOOLS.md on GitHub

Category graph · sensitivity confidential · capabilities read_state · readOnly true, destructive false, idempotent true, openWorld false · outputSchema yes · timeout: layer default (300 s)

Everything that needs one asset, which is what breaks if it goes away. Same item shape as depends_on.

Argument Type Default Constraints Description
ref string required min length 1 Asset reference: internal id, ARN / cloud resource id, unique name, or unique ARN tail (e.g. 'function:api' or 'i-0abc').
max_depth integer 3 1..15 Depth limit for the downstream walk.
limit integer 100 1..500 Maximum items returned.
dataset string "" Dataset name (see list_datasets). Empty = the active dataset.

Called with the arguments below, dependents returned this structuredContent.

{"ref": "sg-app"}
{
  "dataset": "sample",
  "asset": {
    "id": "sg-app",
    "name": "sg-app",
    "type": "SECURITY_GROUP",
    "provider": "AWS",
    "region": "us-east-1",
    "account_id": "111111111111",
    "arn": "arn:aws:ec2:us-east-1:111111111111:security-group/sg-0app",
    "internet_exposed": false,
    "open_findings": 0,
    "max_severity": null,
    "uri": "cloudg://assets/sg-app"
  },
  "total": 4,
  "returned": 4,
  "truncated": false,
  "items": [
    {
      "id": "web-1",
      "name": "web-1",
      "type": "EC2",
      "provider": "AWS",
      "region": "us-east-1",
      "account_id": "111111111111",
      "arn": "arn:aws:ec2:us-east-1:111111111111:instance/i-0web1",
      "internet_exposed": false,
      "open_findings": 1,
      "max_severity": "HIGH",
      "uri": "cloudg://assets/web-1",
      "via": "ATTACHED_TO",
      "relationship": null,
      "depth": 1,
      "parent_id": "sg-app"
    },
    {
      "id": "web-2",
      "name": "web-2",
      "type": "EC2",
      "provider": "AWS",
      "region": "us-east-1",
      "account_id": "111111111111",
      "arn": "arn:aws:ec2:us-east-1:111111111111:instance/i-0web2",
      "internet_exposed": false,
      "open_findings": 0,
      "max_severity": null,
      "uri": "cloudg://assets/web-2",
      "via": "ATTACHED_TO",
      "relationship": null,
      "depth": 1,
      "parent_id": "sg-app"
    },
    "... 2 more"
  ]
}