//! Per-request context passed to tool functions.
usecrate::logging::Logger;/// Per-request context passed to all tools.
////// This provides access to:
/// - Unified logger for outputting to both tracing and MCP client
#[derive(Clone)]pubstructToolContext{/// Unified logger for this request.
publogger: Logger,
}implToolContext{/// Create a new tool context with the given logger.
pubfnnew(logger: Logger)->Self{Self{ logger }}}