evaluate-script
Execute JavaScript scripts within AdsPower browser profiles to automate interactions, modify page elements, or perform custom browser operations.
Instructions
Evaluate the script
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": {
"script": "<script>"
},
"name": "evaluate-script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The script to evaluate, eg: "document.querySelector('#username').value = 'test'" |