Error: The question tool was called with invalid arguments #6142

Closed
opened 2026-02-16 18:00:58 -05:00 by yindo · 0 comments
Owner

Originally created by @jatinbansal1998 on GitHub (Jan 15, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I got an error in the Plan Mode. I also have these flags set:

# OpenCode experimental features
export OPENCODE_EXPERIMENTAL_LSP_TOOL=true
export OPENCODE_EXPERIMENTAL_ICON_DISCOVERY=true
export OPENCODE_EXPERIMENTAL_FILEWATCHER=true
export OPENCODE_EXPERIMENTAL_OXFMT=true
export OPENCODE_EXPERIMENTAL_PLAN_MODE=1
Error: The question tool was called with invalid arguments: [
  {
    "origin": "string",
    "code": "too_big",
    "maximum": 12,
    "inclusive": true,
    "path": [
      "questions",
      0,
      "header"
    ],
    "message": "Too big: expected string to have <=12 characters"
  }
].
Please rewrite the input so it satisfies the expected schema.

Plugins

opencode-antigravity-auth

OpenCode version

1.1.21

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Originally created by @jatinbansal1998 on GitHub (Jan 15, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I got an error in the Plan Mode. I also have these flags set: ``` # OpenCode experimental features export OPENCODE_EXPERIMENTAL_LSP_TOOL=true export OPENCODE_EXPERIMENTAL_ICON_DISCOVERY=true export OPENCODE_EXPERIMENTAL_FILEWATCHER=true export OPENCODE_EXPERIMENTAL_OXFMT=true export OPENCODE_EXPERIMENTAL_PLAN_MODE=1 ``` ``` Error: The question tool was called with invalid arguments: [ { "origin": "string", "code": "too_big", "maximum": 12, "inclusive": true, "path": [ "questions", 0, "header" ], "message": "Too big: expected string to have <=12 characters" } ]. Please rewrite the input so it satisfies the expected schema. ``` ### Plugins opencode-antigravity-auth ### OpenCode version 1.1.21 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS 26.2 ### Terminal Ghostty
yindo added the bug label 2026-02-16 18:00:58 -05:00
yindo closed this issue 2026-02-16 18:00:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6142