set_view
Configure the default render view for a session to control how subsequent renders appear. Specify box, cell, or layers; omitted arguments retain current values.
Instructions
Set the session's default render view used by later render_view calls.
Omitted arguments keep their current value. Changing cell without a box
auto-fits the view to that cell.
Args:
session_id: Session returned by open_layout.
box: View window in microns: {"left", "bottom", "right", "top"}.
cell: Cell to render.
layers: Visible layers as [{"layer": int, "datatype": int}].
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": {
"session_id": "<session_id>"
},
"name": "set_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | ||
| cell | No | ||
| layers | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||