track_call
Record and track an individual API call with metadata
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": {
"method": "<method>",
"endpoint": "<endpoint>",
"duration_ms": "<duration_ms>",
"status_code": "<status_code>"
},
"name": "track_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method (GET, POST, etc.) | |
| endpoint | Yes | API endpoint URL | |
| duration_ms | Yes | Call duration in milliseconds | |
| status_code | Yes | HTTP status code | |
| service_name | No | Source service identifier | |
| response_size_bytes | No | Response payload size |