opencode
opencode copied to clipboard
Fix: Convert MCP string parameters to appropriate types
Add convertMCPArgs function to properly convert string parameters from MCP tools to their expected types (numbers, booleans, objects, arrays) before passing them to tool execution functions.