execute_function
Run custom JavaScript functions directly in a browser environment for automation tasks like web scraping, content extraction, or performance audits using Browserless MCP Server.
Instructions
Execute custom JavaScript function in browser context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | ||
context | No |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"type": "string"
},
"context": {
"type": "object"
}
},
"required": [
"code"
],
"type": "object"
}