Editor
Where you edit your code and run it.
Note: While a script is running, the code editor becomes read-only and the fields panel is disabled.
Header
Shows a back arrow, the script name (editable), and the description (editable). Changes auto-save when you pause typing.
Code editor
Built on Monaco Editor — the same engine that powers VS Code — with Python syntax highlighting.
Features
| Feature | Details |
|---|---|
| Autocomplete | Suggestions appear as you type |
| Field name completion | Type inputs[” and your configured field names appear |
| Function docs | Hover over a function to see its description |
| Go to definition | Ctrl + Click or F12 |
| Parameter hints | Type ( after a function name to see its arguments |
| Syntax check | Runs automatically before execution |
Editor settings
- Theme: always dark
- Font size: 14px
- Tabs: 4 spaces
- Word wrap: on
- Minimap: off
Toolbar
Run / Stop
- Run (green, play icon) — disabled if there’s a validation error. Syntax is checked before running. If runtime fields exist, the input modal opens.
- Stop (red, square icon) — only visible during execution.
Prompt
Copies a structured LLM prompt to the clipboard. The generated content changes based on whether you have fields defined. After copying, the button shows “Copied” for 2 seconds.
Input validation
| Type | What it catches |
|---|---|
| Unnamed field | A field has no name |
| Missing value | A required field is empty |
| Extension mismatch | A file’s extension isn’t in the allow-list |
| Path not found | The specified path doesn’t exist |
| Out of range | A number is outside the configured range |
| Invalid format | The value doesn’t match the configured pattern |
Keyboard shortcuts
| Shortcut | Action |
|---|---|
Ctrl + Enter | Run the script |
Escape | Cancel execution |