using Microsoft.Extensions.Logging;

namespace ColaFlow.Modules.Mcp.Application.Handlers;

/// <summary>
/// Handler for the 'tools/call' MCP method
/// </summary>
public class ToolsCallMethodHandler(ILogger<ToolsCallMethodHandler> logger) : IMcpMethodHandler
{
    public string MethodName => "tools/call";

    public Task<object?> HandleAsync(object? @params, CancellationToken cancellationToken)
    {
        logger.LogDebug("Handling tools/call request");

        // TODO: Implement in Story 5.11 (Core MCP Tools)
        // For now, return error
        throw new NotImplementedException("tools/call is not yet implemented. Will be added in Story 5.11");
    }
}
