View Source ExOpenAI.Components.MCPListTools (ex_openai.ex v2.0.0-beta2)
A list of tools available on an MCP server.
Fields
:error- optional -String.t() | any():id- required -String.t()
The unique ID of the list.:server_label- required -String.t()
The label of the MCP server.:tools- required -[ExOpenAI.Components.MCPListToolsTool.t()]
The tools available on the server.:type- required -:mcp_list_tools
The type of the item. Alwaysmcp_list_tools.
Allowed values:"mcp_list_tools"
Summary
Types
@type t() :: %ExOpenAI.Components.MCPListTools{ error: (String.t() | any()) | nil, id: String.t(), server_label: String.t(), tools: [ExOpenAI.Components.MCPListToolsTool.t()], type: :mcp_list_tools }