Tool Stats
open class ToolStats(val name: String, val calls: Int, val averageResponseTime: Long = 0, val failures: Int = 0)
Stats around tool calls to a particular tool. Open to allow implementations to extend if they wish
Parameters
name
The name of the tool.
calls
The number of times the tool has been called.
average Response Time
The average response time of the tool in milliseconds.
failures
The number of times the tool has failed.