Traffic By Path
traffic_by_pathSummarize request traffic for a single path, aggregating log counts by time window and top values to profile endpoint usage.
Instructions
Aggregated traffic summary (see search_logs) scoped to a single request path.
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": {
"path": "<path>"
},
"name": "traffic_by_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| top_n | No | ||
| window | No | -1h | |
| account | No | ||
| path_field | No | ||
| sample_size | No | ||
| bucket_count | No |