render_image
Render a labeled CT slice with an answer key and optional pixel-aligned hotspot masks to create medical practice questions and click-the-structure exercises.
Instructions
Render a specific slice with labels. Returns image path (+ base64), answer key with arrow/label
geometry, and optional hotspot masks (transparent PNGs, pixel-aligned with the image).
shuffle_labels randomly reassigns the label texts among the groups (seed to reproduce).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| seed | No | ||
| view | Yes | ||
| labels | Yes | ||
| render | No | ||
| case_id | Yes | ||
| output_dir | No | ||
| slice_index | Yes | ||
| hotspot_zones | No | ||
| include_base64 | No | ||
| shuffle_labels | No |