pub fn register_mcp_tool<T: McpTool>(tool: T) -> Option<Ref<CoreMcpTool>>Expand description
Registers a tool for the life of the process. Returns None when the definition is invalid or
its name is already registered, or when a string in it contains a NUL.