{ "name": "chrome_fill_or_select", "description": "Fill or select a form element on a web page. Supports input, textarea, select, checkbox, and radio elements. Use CSS selector, XPath, or element ref to target the element.", "parameters": { "type": "object", "properties": { "selector": { "type": "string", "description": "CSS selector or XPath for the form element." }, "selectorType": { "type": "string", "enum": ["css", "xpath"], "description": "Type of selector (default: \"css\")." }, "ref": { "type": "string", "description": "Element ref from chrome_read_page (takes precedence over selector)." }, "value": { "type": ["string", "number", "boolean"], "description": "Value to fill. For text inputs: string. For checkboxes/radios: boolean. For selects: option value or text." }, "tabId": { "type": "number", "description": "Target tab ID. If omitted, uses the current active tab." }, "windowId": { "type": "number", "description": "Window ID to select active tab from (when tabId is omitted)." }, "frameId": { "type": "number", "description": "Target frame ID for iframe support." } }, "required": ["value"] } }