save_file
Save current Blender file; optionally specify a new file path for 'Save As'.
Instructions
Save the current Blender file.
If filepath is empty, saves to the current file path (overwrite). If filepath is provided, performs a "Save As" to the given path.
Args: filepath: Optional absolute path to save as. Must have .blend extension. Empty string saves to current file.
Returns: Dict with the saved file path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||