arc_execute_javascript
Execute JavaScript code in Arc Browser tabs with async/await support and error handling. Run scripts in the active or a specified tab.
Instructions
JavaScriptコードを実行する(async/await対応、エラーハンドリング付き)
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": {
"code": "<code>"
},
"name": "arc_execute_javascript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 実行するJavaScriptコード(async関数として実行される) | |
| tab_index | No | タブのインデックス(指定しない場合はアクティブタブ) |