editor.set
Since next
Set the selection and the hidden, isolated (only these drawn) and locked id lists, as the Outliner does.
Omitted: unchanged; []: cleared. history: undo/redo to index.
| Title | Set editor view state |
| Mode | editor |
| Token cost | about 171 tokens (listed only when its toolset is enabled) |
| Toolset | editor |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
gizmo | object | no | |||
history | no | ||||
isolated | string[] | no | |||
layout | object | no | |||
locked | string[] | no | |||
prefs | object | no | |||
recover | object | no | |||
selection | string[] | no | |||
viewport | object | no |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "editor.set",
"arguments": {}
}