Skip to content

web_pressKey

Press a keyboard key or key combination. Supports keys like ‘Enter’, ‘Tab’, ‘Escape’, ‘Backspace’, ‘ArrowDown’, ‘ArrowUp’, and combinations like ‘Control+A’, ‘Meta+C’, ‘Shift+Tab’.

Source

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

Contract

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

Input schema

Required parameters

  • keyString The key or key combination to press (e.g., ‘Enter’, ‘Tab’, ‘Control+A’, ‘Meta+C’).

Optional parameters

  • 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.