Get supply chain
get_supply_chainWalk the supplier/customer graph from one focal company, up to 2 tiers up (suppliers), down (customers), or both. Mirrors the chain view on wafergraph.com's Explorer. Returns companies grouped by tier plus the edges between them.
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": {
"id": "<id>"
},
"name": "get_supply_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Focal company id or name. | |
| depth | No | Number of tiers to walk, capped at 2. | |
| direction | No | up = walk suppliers only, down = walk customers only, both = walk both directions. | both |