Dea DardanicaDocumentation
Input and formsRead Markdown

type_text

Fill using exactly one of selector or label. label matches an exact visible associated label or accessible name, freshly on every call and batch row. Use within (CSS container) to disambiguate duplicate labels. Stops on missing, ambiguous or stale targets. Clicks first, clears unless clear=false, and uses native input. Label targeting supports text inputs, textareas and contenteditable in the main document.

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.

json
{
  "label": "Email",
  "text": "alex@example.com"
}

Usage notes#

Use exactly one of label and selector. The example assumes a field with the accessible label Email. For hosted-frame fills, use selector rather than label.

Result#

Fills the resolved field and returns action outcome information. clear controls replacement versus appending where supported.

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#

type_text — table 1
ParameterTypeRequiredDescription
selectorstringNoCSS selector, or read_page ref; mutually exclusive with label minLength: 1
labelstringNoExact field label/accessibility name, whitespace normalized; resolved anew each fill minLength: 1; maxLength: 500
withinstringNoOptional unique visible CSS container for label targeting minLength: 1; maxLength: 2000
textstringYesSee usage and full schema below.
clearbooleanNoClear the field first (default true)
framestringNoAct 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
tabstringNoTab 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.

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "selector": {
      "description": "CSS selector, or read_page ref; mutually exclusive with label",
      "type": "string",
      "minLength": 1
    },
    "label": {
      "description": "Exact field label/accessibility name, whitespace normalized; resolved anew each fill",
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "within": {
      "description": "Optional unique visible CSS container for label targeting",
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "text": {
      "type": "string"
    },
    "clear": {
      "description": "Clear the field first (default true)",
      "type": "boolean"
    },
    "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
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}

Reference conventions · Agent operating guide · Troubleshooting