Tool Call Metrics
get_tool_call_metricsReturns per-tool call duration metrics for a conversation with an explicit latency boundary. Includes individual call records and aggregates, or exact Agent-vs-Node paired comparisons with transport/Agent overhead. Use this to identify slow tools and optimize your workflow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_tool_call_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | No | Filter results to a specific tool name. | |
| conversationId | No | Conversation ID to fetch tool metrics for. Defaults to the current conversation if omitted. | |
| measurementScope | No | Latency boundary. agent_round_trip includes Agent, network, Node routing, and response handling; node_server measures the Node request path; comparison pairs both clocks by exact toolCallId. | agent_round_trip |