blur
Unfocus a field to commit its value. Some editors only push the typed text into the app's own state when the field loses focus — Instagram's post caption is the classic case: it looks typed but publishes blank, and Share can stay disabled, until the field is blurred. Call this after type_text, before clicking Share/Done. Pass a selector, or omit to blur whatever is focused. Do NOT use it on a chat/comment box you send with Enter.
Example#
Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.
{}Result#
Unfocuses the specified field, or the focused field, to trigger its normal commit behavior and returns the outcome.
Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
selector | string | No | Field to blur; omit to blur the focused element |
frame | string | No | Act inside an iframe: selector of the <iframe> element (find_elements/read_page/get_page_text list them). Nested frames chain with " >> ", e.g. "#checkout >> iframe[name=card]". minLength: 1 |
tab | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |
Full input schema#
The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"selector": {
"description": "Field to blur; omit to blur the focused element",
"type": "string"
},
"frame": {
"description": "Act inside an iframe: selector of the <iframe> element (find_elements/read_page/get_page_text list them). Nested frames chain with \" >> \", e.g. \"#checkout >> iframe[name=card]\".",
"type": "string",
"minLength": 1
},
"tab": {
"description": "Tab name or id in your workspace; does not change the visible tab.",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Related documentation#
Reference conventions · Agent operating guide · Troubleshooting