fill
Sets a value in one web page element chosen by CSS selector or role/name, enabling targeted form input and browser automation.
Instructions
Fill one element; specify exactly one of css or role, with optional role name.
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": {
"tab_id": "<tab_id>",
"value": "<value>"
},
"name": "fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | ||
| name | No | ||
| role | No | ||
| value | Yes | ||
| tab_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |