ToolUsage
A tool’s usage summary. Shown by the UI’s Tools screen.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
toolName |
yes | string |
The tool name. | — |
totalCalls |
yes | integer (int64) |
The total number of calls. | pattern `^-?(?:0\ |
failedCalls |
yes | integer (int64) |
The number of calls that errored. | pattern `^-?(?:0\ |
averageDurationMs |
no | number (double) |
The average duration (milliseconds). null if no call carries a duration. |
pattern `^-?(?:0\ |
lastCalledAt |
no | string (date-time) |
The moment it was last called (UTC). | — |
errorRate |
no | number (double) |
The error rate among settled calls (0–1). null if there is no call. |
pattern `^-?(?:0\ |