Share via


ItemMcpListTools interface

A list of tools available on an MCP server.

Extends

Properties

error

An error message, if any occurred while fetching the tool list.

id

The unique ID of the list.

server_label

The label of the MCP server.

tools

The tools available on the server.

type

The type of the item. Always mcp_list_tools.

Property Details

error

An error message, if any occurred while fetching the tool list.

error?: string

Property Value

string

id

The unique ID of the list.

id: string

Property Value

string

server_label

The label of the MCP server.

server_label: string

Property Value

string

tools

The tools available on the server.

tools: MCPListToolsTool[]

Property Value

type

The type of the item. Always mcp_list_tools.

type: "mcp_list_tools"

Property Value

"mcp_list_tools"