capture_frame
See what the worker sees right now: asks their page for a still and
waits for it (about 8 s at most). Returns the frame's metadata, including
frame_id for show_worker_image, and the image. Refused with a reason
when they are not live: interactive_not_live, paused_by_worker,
worker_away. Never use a frame to identify or look up people.
An image costs about width x height / 750 tokens: a 768px frame is about 440 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Longest side in pixels, 256-1280. | |
| task_id | Yes | An interactive task whose worker is live. |