Skip to content

web_type

Type text into a web input element identified by its element ID, ARIA descriptor, or CSS selector. By default this clears the field first and fills in the new text. Set clearFirst to false to append text instead.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.playwright.tools.PlaywrightNativeTypeTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

Required parameters

  • textString The text to type into the element.

Optional parameters

  • refString Element ID (e.g., ‘e5’), ARIA descriptor (e.g., ‘textbox “Email”’), or CSS selector with css= prefix (e.g., ‘css=#email-input’).
  • clearFirstBoolean If true (default), clear the field before typing. If false, append to existing text.
  • reasoningString

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.