[Bug] Argument parsing fails with quoted strings containing spaces

Resolved 💬 5 comments Opened Jan 7, 2026 by guyernest Closed Mar 6, 2026

Bug Description
when trying to use a prompt with arguments that include blanks (such as, 1. e4 e5 2. Nf3 Nc6 3. d4 exd4 4. Nxd4), the client is not sending the arguments correctly, even if I quote them or double quote them. It prevents from using prompt on many inputs.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.76
  • Feedback ID: da4de82b-ed21-40d6-9f19-b24589cacf19

Errors

[{"error":"Error: Tool mcp__chess__identify_opening not found\n    at wi2 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:2591:6696)\n    at h5 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:20693)\n    at IY (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:39057)\n    at ss (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:49664)\n    at MJ (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:85801)\n    at Xf (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:84781)\n    at u_ (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:84606)\n    at cS (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:81054)\n    at m0 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:6240)\n    at Immediate.ip1 [as _onImmediate] (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:245:3491)","timestamp":"2026-01-07T02:22:37.470Z"},{"error":"Error: Tool mcp__chess__identify_opening not found\n    at wi2 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:2591:6696)\n    at h5 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:20693)\n    at IY (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:39057)\n    at ss (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:49664)\n    at MJ (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:85801)\n    at Xf (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:84781)\n    at u_ (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:84606)\n    at cS (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:81054)\n    at j0 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:6360)\n    at F1 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:252:4874)","timestamp":"2026-01-07T02:22:37.639Z"},{"error":"TimeoutError: The operation was aborted due to timeout\n    at Object.fetch (node:internal/deps/undici/undici:11372:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async p30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:18888)\n    at async $TA (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:20519)\n    at async m30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15728)\n    at async NR (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15126)\n    at async i30.send (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:34322)","timestamp":"2026-01-07T04:57:16.386Z"},{"error":"TimeoutError: The operation was aborted due to timeout\n    at Object.fetch (node:internal/deps/undici/undici:11372:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async p30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:18888)\n    at async $TA (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:20519)\n    at async m30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15728)\n    at async NR (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15126)\n    at async i30.send (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:34322)","timestamp":"2026-01-07T04:57:17.173Z"},{"error":"TimeoutError: The operation was aborted due to timeout\n    at Object.fetch (node:internal/deps/undici/undici:11372:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async p30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:18888)\n    at async $TA (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:20519)\n    at async m30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15728)\n    at async NR (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:15126)\n    at async i30.send (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:34322)","timestamp":"2026-01-07T04:57:22.775Z"},{"error":"TimeoutError: The operation was aborted due to timeout\n    at Object.fetch (node:internal/deps/undici/undici:11372:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async p30 (file:///Users/guy/node_modules/@anthropic-ai/claude-code/cli.js:1085:18888)\n    at async $TA (file:///Users/guy/node

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗