A tool statically registered on a repository app's MCP server through McpMappingBuilder, pairing the tool's wire-format spec with the JavaScript function that implements it.


Properties

PropertyReturnsDescription
functionNameStringName of the JavaScript function that implements this tool, called when the tool is invoked.
nameStringName of the tool, as reported to MCP clients.
specJsonStringThe tool spec as a JSON document mirroring the MCP Tool wire format (name, description, inputSchema, outputSchema, title, annotations, icons, _meta, ...).

Methods

getName()

Returns: String

Name of the tool, as reported to MCP clients.

getSpecJson()

Returns: String

The tool spec as a JSON document mirroring the MCP Tool wire format (name, description, inputSchema, outputSchema, title, annotations, icons, _meta, ...).

getFunctionName()

Returns: String

Name of the JavaScript function that implements this tool, called when the tool is invoked.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.