sketchup_edit_context
Switch SketchUp editing context by entering a native instance path or exiting to the root model with a null id, so edits and final saves occur in the correct scope.
Instructions
Enter a native instance editing path, or exit to the model when id is null. Finish any current GUI gesture before changing context; final save requires the root context.
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": {
"expected_revision": "<expected_revision>",
"operation_id": "<operation_id>"
},
"name": "sketchup_edit_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| operation_id | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||