Skip to content

Write tool called with invalid parameters #18131

@spotlesscoder

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions