set_viewport_direction
Changes the Houdini viewport direction to one of seven presets: front, back, left, right, top, bottom, or perspective. Maps the chosen direction to geometryViewportType and triggers changeType.
Instructions
将白名单方向映射到 geometryViewportType 并调 changeType
(add-viewport-control-tools,NO_UNDO)。
七方向 token:front/back/left/right/top/bottom/perspective。
不接受反射式 setter。响应过 server 端 ``apply_response_cap``。
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": {
"ctx": "<ctx>",
"direction": "<direction>"
},
"name": "set_viewport_direction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| direction | Yes |