Session Write File
session_write_fileWrite text files into a session workspace to seed input data for executed code. Overwrite existing files using relative paths, enabling custom inputs for code execution.
Instructions
Write a file into a session workspace (relative path, no escapes). Use this to seed input data for executed code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative destination path inside the workspace; path escapes (e.g. '../') are refused | |
| content | Yes | Text content to write to `path`, overwriting any existing file | |
| session_id | Yes | Id of the session workspace to write into |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||