jd_save_file
Write assistant-generated text, such as CSV data or summaries, to a file in the configured output folder and return its path and size.
Instructions
Save text, such as a CSV or a summary the assistant has assembled, to a file.
Use this when the user wants a result kept on their computer. Files can only be created
inside the configured output folder (DEERE_OUTPUT_DIR); any filename that points outside
it is refused. An existing file with the same name is replaced. Returns the full path
and the size in bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The full text to write to the file. | |
| filename | Yes | Name of the file to create, for example 'north-80-yield.csv'. A relative path such as 'reports/2024.csv' is allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||