FoundryToolboxResource.withMcpTool
Method
interface FoundryToolboxResource { // ... omitted for brevity withMcpTool( name: string, endpoint: string | EndpointReference | ReferenceExpression, options?: FoundryToolboxMcpToolOptions): FoundryToolboxResource;}Signature
method
withMcpTool builderAdds an MCP tool definition to the Toolbox.
withMcpTool( name: string, endpoint: string | EndpointReference | ReferenceExpression, options?: FoundryToolboxMcpToolOptions): FoundryToolboxResourceParameters
namestringendpointstring | EndpointReference | ReferenceExpression optionsFoundryToolboxMcpToolOptions optionalReturns
FoundryToolboxResource Defined on
This method is defined on the following type: