Type into element
browser_typeType into a text field, textarea, or contenteditable from the latest observation. A non-editable element (editable: false, such as a submit button) returns ELEMENT_NOT_INTERACTABLE and does not change the page. length is the number of Unicode code points. A number, date, time, week, month, or color input that cannot hold the text returns INVALID_INPUT_VALUE and does not set the value. The typed value is not stored in the audit log. Events are not isTrusted; Browse Bridge does not spoof that flag. On a sensitive site, type returns APPROVAL_REQUIRED with approvalId. Password fields return HUMAN_INPUT_REQUIRED — the human types that value; there is no Approve that types a password.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| submit | No | ||
| elementId | Yes | ||
| sessionId | Yes | ||
| observationId | Yes | ||
| idempotencyKey | No | A key replays the original result only within ~60 seconds of the first call, only for the same Mcp-Session-Id, the same credential (API key or OAuth token), the same browser session, and the same tool. After the window, or under a different session/credential/tool, the call executes and bills normally. Reusing a key with different arguments returns IDEMPOTENCY_KEY_REUSED and is not executed or billed. Refusals (e.g. NO_HISTORY_ENTRY) are not cached, so the same key re-executes once state changes. A key passed in _meta is ignored. |