spider_browser_fill
Fill form fields by clearing existing content and typing new text, using CSS selectors for inputs, textareas, and contenteditable elements.
Instructions
Fill a form field with text. Clears existing content first, then types the new value. Use for text inputs, textareas, and contenteditable elements.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"selector": "<selector>",
"value": "<value>"
},
"name": "spider_browser_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to type into the field | |
| timeout | No | Max time to wait for element in ms. Default: 10000 | |
| selector | Yes | CSS selector of the input field (e.g. "input[name='email']", "#search-box") | |
| session_id | Yes | Session ID from spider_browser_open |