docs/tools/mcp-resources.md
MCP resource tools let Gemini CLI discover and retrieve data from contextual resources exposed by Model Context Protocol (MCP) servers.
list_mcp_resources (ListMcpResources)list_mcp_resources retrieves a list of all available resources from connected
MCP servers. This is primarily a discovery tool that helps the model understand
what external data sources are available for reference.
list_mcp_resourcesSearchlist-mcp-resources.tsserverName (string, optional): An optional filter to list resources from a
specific server.llmContent): A formatted list of available resources, including
their URI, server name, and optional description.read_mcp_resource (ReadMcpResource)read_mcp_resource retrieves the content of a specific resource identified by
its URI.
read_mcp_resourceReadread-mcp-resource.tsuri (string, required): The URI of the MCP resource to read.resources/read method.llmContent): The content of the resource. For binary data, it
returns a placeholder indicating the data type.