CustomJS
Developer toolsAPI key
CustomJS renders HTML to PDF, takes screenshots, scrapes sites, runs JavaScript and hosts HTML pages.
8 actions
| Action | Effect | Data handled | Scope |
|---|---|---|---|
| customjs_html_to_pdfRenders HTML (optionally a Nunjucks template filled with data) to a PDF in Chromium and returns it as base64 | read | Personal data | |
| customjs_screenshotCaptures a web page as a PNG in Chromium, optionally after clicking, typing, waiting or scrolling, and returns it as base64 | read | Personal data | |
| customjs_scrape_websiteRuns a browser on a site: give a plain-language goal for the AI agent, or exact commands, and get extracted data, text, HTML, markdown or a screenshot link | read | Personal data | |
| customjs_run_javascriptRuns JavaScript code in CustomJS with an input value and returns what the code returns | write | Personal data | |
| customjs_run_stored_functionCalls a function saved in the CustomJS editor by its script id with JSON input | write | Personal data | |
| customjs_list_pagesLists the hosted HTML pages in the workspace with their ids and live URLs | read | General | |
| customjs_create_pagePublishes an HTML document as a new hosted page and returns its live URL | write | Personal data | |
| customjs_update_pageReplaces the HTML of a hosted page; its URL stays the same | write | Personal data |