chrome_script_library
Loads common JavaScript libraries into a browser environment, including jQuery, Lodash, Moment, Axios, and Chart.js; supports listing and checking library availability.
Instructions
Load common script libraries (jQuery, Lodash, etc.)
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": {
"envId": "<envId>",
"action": "<action>"
},
"name": "chrome_script_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Custom library URL | |
| envId | Yes | Environment ID for the browser environment to operate. | |
| action | Yes | Action type: load, list, check | |
| library | No | Library name (jquery, lodash, moment, axios, chart.js) |