Skip to content

issue: playwright-mcp not getting the request bodies #181

Open
@mlaihk

Description

@mlaihk

openwebui-log.txt

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of mcpo.

mcpo Version

0.3.11

Open WebUI Version (if applicable)

0.6.15

Operating System

Docker WSL

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both MCPO and Open WebUI.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

properly formatted api calls with url as request body like:

curl -X 'POST'
'http://mcpo:8000/playwright/browser_navigate'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"url": "https://www.hko.gov.hk"
}'

Actual Behavior

I got an error on tool call saying request body is empty:

From the Open WebUI chat with Qwen3 native tool call:
{
"arguments": {
"url": "https://www.hko.gov.hk"
},
"name": "tool_browser_navigate_post"
}
{
"error": "Request body expected for operation 'tool_browser_navigate_post' but none found."
}

Steps to Reproduce

  1. Add official ms-playwright mcp to config.json:

    "playwright": {
    "command": "npx",
    "args": [
    "@playwright/mcp@latest",
    "--isolated",
    "--no-sandbox"
    ]
    }

  2. Reboot mcpo

  3. In OpenWebui add the mcpo:8000/playwright to tools.

  4. Call tool with prompt: "Retrieve the html from this link https://www.hko.gov.hk"

Logs & Screenshots

Image

Additional Information

`

openwebui-log.txt

`

Metadata

Metadata

Assignees

No one assigned

    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