Typed tool methods generated from tool definitions.
Creates a method for each tool with the naming convention call{ToolName}. For example, a tool named "greet" becomes callGreet().
call{ToolName}
callGreet()
// Instead of:await client.callTool("greet", { name: "Alice" });// You can use:await client.tools.callGreet({ name: "Alice" }); Copy
// Instead of:await client.callTool("greet", { name: "Alice" });// You can use:await client.tools.callGreet({ name: "Alice" });
Typed tool methods generated from tool definitions.
Creates a method for each tool with the naming convention
call{ToolName}. For example, a tool named "greet" becomescallGreet().