Skip to content

timeout param issue in wait_for tool #624

@yvanz

Description

@yvanz

Description of the bug

I'm using github.com/modelcontextprotocol/go-sdk/[email protected] create the MCP client and invoke the wait_for tool. My call looks like this:

p := &mcp.CallToolParams{
		Name: "wait_for",
		Arguments: map[string]any{
			"text":    waitingText,
			"timeout": 300000,
		},
}

But chrome-devtools-mcp always returns:

{
  "content": [
    {
      "type": "text",
      "text": "Timed out after waiting 30000ms"
    }
  ],
  "isError": true
}

It appears that the timeout argument is capped at 30 000 ms regardless of the value I supply.

Could you confirm whether this is the intended behavior, or am I passing the parameter incorrectly?

Reproduction

No response

Expectation

No response

MCP configuration

No response

Chrome DevTools MCP version

v0.10.2

Chrome version

142.0.7444.176

Coding agent version

No response

Model version

No response

Chat log

No response

Node version

No response

Operating system

macOS

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions