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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"content": "<content>"
},
"name": "jd_save_file"
}
}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 | |||