ToolCallAudit
data class ToolCallAudit(val timestamp: Long, val toolName: String, val clientLabel: String?, val argumentsJson: String?, val success: Boolean, val errorMessage: String?, val durationMs: Long)
One audited tools/call. Captured by McpProtocolImpl after the tool runs and handed to the host's AuditSink.
Constructors
Properties
Link copied to clipboard
the raw arguments object as sent, or null if none
Link copied to clipboard
which bearer credential made the call (primary / a paired-client label / anonymous on an open server), or null for transports that don't authenticate (in-process)
Link copied to clipboard
how long execute took
Link copied to clipboard
the failure envelope when success is false