Read the 3D view selection
view_3d_stateRetrieves the part a user selected in a 3D viewer plus the camera position at that moment, defaulting to the most recent view when no viewId is given.
Instructions
Return the part the user selected in a view_3d viewer and the camera at that moment, or "nothing selected yet". Without viewId the most recent view is used.
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": "view_3d_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewId | No | viewId from view_3d (default: the latest) |