Uses explicit structure instead of Parameters<> extraction to avoid TypeScript inference
collapse to 'never' when using ToolModule[] arrays. The deep conditional types from
Parameters<> cannot be unified across array elements.
Not compiler-enforced - the mirror is maintained by hand against the SDK's registerTool config.
NOTE: This type is duplicated in @mcp-z/server for architectural independence.
Keep these definitions synchronized manually when updating.
Tool config signature - explicit structural type mirroring SDK registerTool config
Uses explicit structure instead of Parameters<> extraction to avoid TypeScript inference collapse to 'never' when using ToolModule[] arrays. The deep conditional types from Parameters<> cannot be unified across array elements.
Not compiler-enforced - the mirror is maintained by hand against the SDK's registerTool config.
NOTE: This type is duplicated in @mcp-z/server for architectural independence. Keep these definitions synchronized manually when updating.