save_model_screenshot
Save a bridge model screenshot from a chosen view angle to a PNG file, with optional direct preview.
Instructions
Capture a screenshot of the current bridge model view (截取桥梁模型视图).
By default returns the image itself so it can be viewed directly.
默认直接返回图像内容,可在客户端预览。
Args:
file_path: Output file path (.png). If empty, saves to default directory.
输出路径(.png格式),为空则保存到默认目录
view_angle: View preset (视角预设): 'iso'(空间视图), 'front'(前视),
'side'(左视), 'top'(俯视), 'right'(右视), 'back'(后视), 'bottom'(仰视),
or 'current' to keep the current view (保持当前视角)
return_image: Return the PNG as viewable image content; if False, return
only the saved path (是否直接返回图像内容,否则仅返回路径)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| view_angle | No | iso | |
| return_image | No |