fill_form
Fill multiple web form fields in a single call by mapping CSS selectors to values. Handles text inputs, textareas, checkboxes, radio buttons, and dropdowns, with optional submit button click.
Instructions
Fill multiple form fields in a single call. Pass a map of CSS selector → value. Automatically handles text inputs, textareas, checkboxes (true/false), radio buttons, and dropdowns. Optionally clicks a submit button at the end.
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": {
"fields": "<fields>"
},
"name": "fill_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| fields | Yes | Map of selector → value. Checkboxes: 'true'/'false'. Selects: visible text or value. | |
| submit | No | Selector of submit button to click after filling (optional) | |
| timeout | No |