MCP tool name being wrapped.
Original tool callback registered by a tool module.
Server configuration used for redaction and policy.
OptionalcontextProviders: DestructiveElicitationContextProviders
Optional MCP protocol/capability providers used by destructive-operation elicitation.
The wrapped tool callback.
Wrap a tool handler to emit an audit log entry on invocation: tool name, non-secret credential fingerprint, top-level arg keys, duration, and success/error. Argument values are not logged to avoid leaking file content, bucket data, or credentials.