Tool
Tool(
config): (target,propertyKey,descriptor) =>void
Defined in: src/decorators/mcp.ts:20
Decorator for MCP tools
Parameters
Section titled “Parameters”config
Section titled “config”ToolConfig = {}
Returns
Section titled “Returns”(
target,propertyKey,descriptor):void
Parameters
Section titled “Parameters”target
Section titled “target”any
propertyKey
Section titled “propertyKey”string
descriptor
Section titled “descriptor”PropertyDescriptor
Returns
Section titled “Returns”void