dom_get_value
Read the current value of an input element in a specified tab by providing its CSS selector and target ID.
Instructions
Get the current value of an input element.
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": {
"targetId": "<targetId>",
"selector": "<selector>"
},
"name": "dom_get_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the input element | |
| targetId | Yes | Target ID of the tab |