Skip to content

Write tool called with invalid parameters #18131

Description

@spotlesscoder

Description

I am experimenting with https://github.com/LarsCowe/bmalph

Model: Qwen 3.5 35B-A3B hosted in LM Studio

At some point during the conversation the below mentioned error message is presented to me

Plugins

how to obtain a list?

OpenCode version

1.2.27

Steps to reproduce

  1. Setup a new git repo with https://github.com/LarsCowe/bmalph
  2. Use the analyst agent
  3. Answer the questions the agent asks you

The next output is

~ Preparing write...
Error: The write tool was called with invalid arguments: [
  {
    "expected": "string",
    "code": "invalid_type",
    "path": [
      "content"
    ],
    "message": "Invalid input: expected string, received undefined"
  },
  {
    "expected": "string",
    "code": "invalid_type",
    "path": [
      "filePath"
    ],
    "message": "Invalid input: expected string, received undefined"
  }
].
Please rewrite the input so it satisfies the expected schema.

Screenshot and/or share link

No response

Operating System

Windows

Terminal

Project Bluefins default terminal

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions