MockToolDefinition
Defined in: mcp.ts:26
Definition for a mock MCP tool.
Properties
Section titled “Properties”description?
Section titled “description?”
optionaldescription:string
Defined in: mcp.ts:30
Tool description
handler()
Section titled “handler()”handler: (
args) =>unknown
Defined in: mcp.ts:34
Handler function for the tool
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”unknown
inputSchema?
Section titled “inputSchema?”
optionalinputSchema:Record<string,unknown>
Defined in: mcp.ts:32
Input schema (JSON Schema)
name:
string
Defined in: mcp.ts:28
Tool name