browser_type
Enter text into web page elements during automated browser sessions to simulate user input and interaction.
Instructions
Type text
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | ||
| ref | Yes | ||
| text | Yes | ||
| submit | No |
Implementation Reference
- index.js:341-350 (handler)Registration and handler for the 'browser_type' tool, which validates input using Zod and proxies the call via 'proxyToolCall'.
server.tool('browser_type', 'Type text', { element: z.string(), ref: z.string(), text: z.string(), submit: z.boolean().optional() }, async (args) => { const check = requireActivePage(); if (check) return check; return proxyToolCall('browser_type', args); });