Skip to main content

Input

Type: any any - The data type that MCPListToolsNode accepts as input

Output

Type: GraphTypes.ListToolsResponse The data type that MCPListToolsNode outputs

Examples

const mcpComponent = new MCPClientComponent({ id: 'my-mcp-component', sessionConfig: { ... } });
const mcpListToolsNode = new MCPListToolsNode({
mcpComponent,
reportToClient: true
});

Constructors

Interfaces


Constructors

constructor

new MCPListToolsNode(props: MCPListToolsNodeProps | MCPListToolsNodePropsWithComponent): MCPListToolsNode
Creates a new MCPListToolsNode instance.

Parameters

props
MCPListToolsNodeProps | MCPListToolsNodePropsWithComponent
required
Configuration for the MCP list tools node.

Returns

MCPListToolsNode

Interfaces

MCPListToolsNodeProps

Properties

sessionConfig: Config MCP session configuration reportToClient?: boolean Whether to report results to a client

MCPListToolsNodePropsWithComponent

Configuration interface for MCPListToolsNode creation.

Properties

mcpComponent: MCPClientComponent Existing MCP component to use reportToClient?: boolean Whether to report results to a client