Skip to content

JSON parsing errors in tool call arguments #23065

Closed as not planned
Closed as not planned

Description

@ahamza360

LLMs occasionally generate malformed/truncated JSON for tool call arguments, resulting in "JSON parsing failed" errors. This issue tracks the fix for this problem.

Related PR: #23064

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 17, 2026
  2. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please use one of the three required templates: Bug Report, Feature Request, or Question.
    • The description lacks required fields: no reproduction steps, no environment/system information, and no details about what was expected vs. what actually happened.
    • Bug reports should include context on how to reproduce the issue (OpenCode version, provider, model, steps to reproduce, etc.).

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions