Skip to content

Interaction with Chrome Dev Tools MCP Server causes Error #3593

Closed

Description

@ArcticTrestleboard

Description

Trying to debug a Web Application using OpenCode I am developing. When OpenCode goes to call the ChromeDevTOols MCP Server it receives the following error consistently.

Chrome-Devtools_select_page 1

MCPClientError: MCP error -32602: Invalid arguments for tool select_page: [
{
"code": "invalid_type",
"expected": "number",
"received": "string",
"path": [
"pageIdx"
],
"message": "Expected number, received string"
}
]

OpenCode version

0.15.26

Steps to reproduce

Add the ChromeDevTools MCP Server
Try to invoke the MCP Server through OpenCode

Screenshot and/or share link

No response

Operating System

Pop!_OS 22.04 LTS

Terminal

Ghostty

Activity

  1. rekram1-node commented on Oct 31, 2025

    @rekram1-node
    Collaborator

    @ArcticTrestleboard that's just the model failing to call a tool, it should be able to proceed and call it using correct parameters

    If u face this a lot consider adding additional instructions for how the llm should call the mcp tools

  2. self-assigned this
    on Oct 31, 2025
  3. rekram1-node commented on Oct 31, 2025

    @rekram1-node
    Collaborator

    Going to close since this isn't a bug it is just a tool call validation error being sent back to the llm to tell it it didn't call the tool properly

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions