getMCPTool
codebolt.mcp.getMCPTool(name: string): Promise<any>
Retrieves details of a specific MCP tool.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the MCP tool to retrieve. |
Returns:
Promise<any>
A promise that resolves with the MCP tool details.Example
// Example: Retrieving a specific MCP tool
const toolDetails = await codebolt.mcp.getMCPTool("imageProcessor");
console.log("MCP Tool Details:", toolDetails);