Update or inspect article media
update_article_mediaUpdate an article image/GIF (screenshot), or inspect its current state.
Provide one or more of
zoom_factor,crop,shapesto change metadata.Pass
render=true(with no other updates) to fetch the current details without mutating.
To DELETE an article image/GIF: call update_article with markdown that omits the <SCREENSHOT id> reference. Unreferenced media is pruned server-side on save. There is no separate delete tool — the markdown IS the source of truth for what's present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Crop data: { position: [x,y], size: [w,h] } in fractional coords. | |
| render | No | If true (and no other updates supplied), returns current details and a PNG preview without mutating. | |
| shapes | No | Array of shape objects for annotations. | |
| project_id | Yes | Project ID. | |
| zoom_factor | No | Zoom magnification (1.0 = no zoom). | |
| screenshot_id | Yes | Screenshot ID (from get_article). |