codeSandbox
codeSandboxRun JavaScript or Python for computations, data transformations, and custom programs, with generated files saved as persistent artifacts for later reading or reuse.
Instructions
Run JavaScript (Node.js ESM .mjs; use import) or Python for computations, data transformations and custom programs. For ordinary PDF/Word/Excel/PPT reading, prefer file: download a remote document URL, then readContent with its artifactId (or read an upload by attachmentId). Do not install document parsers merely to duplicate file extraction; use code for explicit programming requests or concrete unsupported processing needs. Files written under outputs/ or listed in outputFiles are saved as persistent artifacts with URLs. readFile reads sandbox output bytes; it is not a PDF/Office text parser. inputFiles mounts saved artifacts for subsequent code. Read Skill system-code-sandbox-runtime before use. Keep stdout compact; files use a separate export channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||