Read Service Dependencies
readServiceDependenciesIdentifies a service's dependencies from trace-observed calls to other services, databases and hosts, with rate, failure share and p95 latency; falls back to compose depends_on and env host references.
Instructions
Returns the calls observed in the range's traces between the service and other services, databases and hosts, with their rate, failure share and 95th-percentile duration. Without observed calls it falls back to the compose file: depends_on entries and environment values that name another service as a host. serviceName is a compose service.
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": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>",
"serviceName": "<serviceName>"
},
"name": "readServiceDependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| range | No | How far back to look; the answer has 30 to 96 points across it | 1h |
| region | No | ||
| appSlug | Yes | ||
| serviceName | Yes | ||
| workspaceSlug | Yes |