Centralizes the mapping between tool names, their metadata (name,
description, inputSchema) and the handler functions that execute
tool calls. The getToolMetadataArray function feeds the
MCP ListTools response, while dispatchToolCall routes
incoming CallTool requests to the correct handler.
MCP tool registry – metadata and dispatch.
Centralizes the mapping between tool names, their metadata (name, description, inputSchema) and the handler functions that execute tool calls. The getToolMetadataArray function feeds the MCP
ListToolsresponse, while dispatchToolCall routes incomingCallToolrequests to the correct handler.