Capture a post from X
capture_tweetRender a public X post as a 1080px-wide PNG with avatar, text, media, date, and counts; choose dark or light, and include the replied-to post if needed.
Instructions
Draw a public x.com post the way X shows it (avatar, name, text, media still, date, counts) as a 1080px-wide PNG media key, dark or light, optionally under the post it replies to. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The post URL (x.com/<handle>/status/<id>) or its numeric id. | |
| theme | No | The x.com theme to draw it in. Defaults to dark. | |
| thread | No | Also draw the post this one replies to, joined by the thread line. | |
| variant | No | wide for 16:9 and square frames, tall for 9:16. Defaults to wide. | |
| budgetUsd | No | Optional: the most this call may spend, in dollars, default 2, max 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| media | Yes | ||
| output | No | The tool's own result, shaped by the tool. | |
| chargedUsd | Yes |