chimerax_screenshot
Capture a screenshot of the current ChimeraX view, save it to a file, and receive its path for later use. Adjust width, height, format, and output location as needed.
Instructions
Capture a screenshot of the current ChimeraX view.
Saves the image to a file and returns the file path. Use the Read tool on the returned path to view the image.
Args:
width: Image width in pixels (default: 1024, max: 8192)
height: Image height in pixels (default: 768, max: 8192)
format: Image format - png or jpg (default: png)
output_path: Where to save the image. If not provided, saves to
~/.local/share/chimerax-mcp/screenshots/ with a timestamp filename.
auto_fit: If True, run view to fit all models before capture (default: False).
If the view command fails, the screenshot is still taken.
Returns: File path to the saved screenshot image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| format | No | png | |
| height | No | ||
| auto_fit | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||