Render Image
render_imageRay-trace the current PyMOL scene to a PNG and return the image inline, with optional selection zoom and configurable width, height, and ray style.
Instructions
Ray-trace the current scene to a PNG and return it inline.
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": "render_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | Zoom/orient onto the selection before rendering. | |
| width | No | Image width in pixels. | |
| height | No | Image height in pixels. | |
| ray_style | No | Ray profile. The default is the PyMOLWiki outline profile. | pymolwiki_outline |
| selection | No | Selection to zoom before rendering ('all' = whole scene). | all |