ToolCallback variant used when inputSchema is a ZodRawShape. Mirrors the callback type of the SDK's deprecated registerTool overload.
ToolCallback
inputSchema
ZodRawShape
registerTool
Wrap with z.object({...}) instead and use ToolCallback.
z.object({...})
ToolCallbackvariant used wheninputSchemais aZodRawShape. Mirrors the callback type of the SDK's deprecatedregisterTooloverload.