spa_fill
Fill input fields in SPAs (React, Vue, Angular) by triggering framework change events.
Instructions
Fill an input field with React/Vue/Angular compatibility. Properly triggers framework change events.
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": {
"selector": "<selector>",
"value": "<value>"
},
"name": "spa_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to first (optional) | |
| value | Yes | Value to fill | |
| session | No | Session ID | default |
| spaMode | No | ||
| selector | Yes | CSS selector for input field | |
| screenshot | No | Take screenshot after action |