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.
Validated against SDK signature for compatibility - compile errors if SDK changes.
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.
Validated against SDK signature for compatibility - compile errors if SDK changes.
NOTE: This type is duplicated in @mcp-z/server for architectural independence. Keep these definitions synchronized manually when updating.