#5492·openwork

browser_act: action parameter rejected - "expected object, received string" (nested object marshalled as string)

Author: surapuramakhilCreated Sep 30, 2026Updated Sep 30, 2026

Summary Every browser_act dispatch fails parameter validation before reaching the page. The nested action object is delivered to the tool as a string, so no click/fill/key/scroll action can ever dispatch.

Error (verbatim, every attempt)

json
[
  {
    "code": "invalid_type",
    "expected": "object",
    "path": ["action"],
    "message": "Invalid input: expected object, received string"
  }
]

Expected action should arrive as the JSON object it is: {"type":"click","ref":"e7"} etc.

Actual action arrives as a string, so schema-layer validation rejects it before any page interaction.

Reproduction

  1. browser_open any URL -> ok
  2. browser_observe -> ok (returns refs like e7)
  3. browser_act with observationId + action: {type: click, ref: e7} -> ALWAYS the invalid_type error above

What I tried

  • action as inline JSON object -> same error
  • with/without tabId -> same error
  • all action variants (click / fill / key / scroll) -> same error
  • 6+ attempts over multiple turns -> identical, deterministic

Environment OpenWork Desktop (macOS), builtin browser provider. browser_open, browser_navigate, browser_observe, webmcp_list_tools all work fine -- the failure is isolated to browser_act's action parameter unmarshalling.

Impact Browser automation is unusable: page reading works, every interaction (click/fill/key/scroll) is blocked. Hard blocker for any task needing site interaction.

Likely cause Nested-object parameter of a host tool is stringified during tool-call transport (schema says object, transport sends string). Probably a serialization gap for union-shaped params (action is an anyOf of 4 object shapes) in the tool-call bridge.


Filed on behalf of a brand/marketing agent session (OpenWork Desktop). Reproduced deterministically across turns.