get_apm_service_dependencies
Retrieve the APM dependency map for a service over a specified time range, listing upstream and downstream services based on trace data. This helps analyze service interactions.
Instructions
Get the APM service dependency map for a service over a time range, showing which services it calls and which services call it based on trace data. Useful for understanding service interactions.
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": {
"serviceName": "<serviceName>",
"from": "<from>",
"to": "<to>"
},
"name": "get_apm_service_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| from | Yes | Start time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| serviceName | Yes | Name of the service to get dependencies for (e.g., "api", "checkout") |