Run code in the workspace
workspace_runRun a JavaScript (ES module) program inside your workspace. It must export default async function (input) { ... } and return JSON. Use import { get } from "codemode:finzdata" for data and import fs from "node:fs/promises" for files under /workspace. No other network access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| input | No | JSON value passed to your default export. | |
| timeout_ms | No |