close_blender
Close Blender instances gracefully or force quit, optionally saving the current .blend file before exiting to prevent data loss.
Instructions
Close Blender. Works for an instance started with start_blender() and, via the addon socket, for one the user launched by hand.
Parameters:
force: If True, kills the managed process immediately instead of asking Blender to quit gracefully via its Python API (default False).
save: If True, save the current .blend (if it has a path) before quitting. Unsaved changes are otherwise discarded without a prompt.
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": "close_blender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| force | No |