McpAgentTool
class McpAgentTool(client: McpClient, val tool: McpTool, val server: McpServerConfig) : AgentTool(source)
One MCP tool as an AgentTool. The model sees <server>__<tool> (unique across servers, within the 64-character limit), the UI the tool's title and server name. Progress notifications stream as preliminary output; results the server flags isError become tool errors; questions the server asks the user (elicitation) go to the chat's dev.ai.elements.core.chat.ToolApprover.input.