Focus a form field
focus_fieldSets keyboard focus to a form field identified by its reference and reports whether focus succeeded, so agents can reliably interact with specific inputs.
Instructions
Give a form field (by ref) keyboard focus. Returns whether it is focused.
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": {
"ref": "<ref>"
},
"name": "focus_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| window_address | No |