Open Session
open_sessionAttach to a live Blender window or start a background session, optionally opening a .blend file, to set up the Blender connection for modeling, inspection, and export.
Instructions
Attach to the live Blender window or start a background one. Returns: the session. WHEN TO CALL: to pick a mode or file; else the first call attaches by BLENDERLENS_MODE.
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": "open_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | .blend to open | |
| mode | No | auto (default): live if the add-on replies | |
| discard | No | Allow losing unsaved or busy work |