Get one agent's dependencies
get_agent_dependenciesRequires the read scope or higher. What one agent calls, heaviest first, from its traces: each model, tool, HTTP host, database, queue, RPC endpoint or agent: calls, errors, error_rate (0-1), p50_ms, p95_ms (bucket ceiling; p95_is_floor: over 60s), daily series, and for a model tokens, cost_usd and cost_source (client, estimated or mixed). operations: up to five span names per outgoing row, sampled from the ten newest traced runs. At most 50 rows; more counts the rest. untrusted_fields names the data fields LastPing did not write (job output, exporter data or user-supplied names).
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_agent_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent UUID or slug (from list_agents). | |
| range | No | Time window: 24h, 7d (the default) or 30d. It covers every UTC day that overlaps it, so 24h spans two days. | |
| direction | No | out (the default): what this agent calls. in: who calls it. all: both. |