fill_form
Fill multiple form fields—text, password, checkboxes, radio buttons, dropdowns—and optionally submit in one action. Resolves secret placeholders and accessibility refs for Electron app automation.
Instructions
Fill multiple input fields (text, password, checkboxes, radio buttons, dropdowns) and optionally submit in a single turn. Supports {{secret:ELECTRON_MCP_*}} resolution and accessibility refs.
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 |
|---|---|---|---|
| expect | No | Optional UI assertion to verify post-submit outcome | |
| fields | Yes | Form field specifications or mapping of field names to values | |
| submit | No | Submit selector/name/ref, or true to auto-detect submit button | |
| targetId | No | ||
| waitIdle | No | Whether to wait for network idle after filling/submitting (default true) | |
| processId | No | Target process ID. Omit if only one app is running. |