Show Media
show_mediaRead-onlyIdempotent
Display the user's images inline — one or many. Users speak plainly and will NOT know asset ids; never ask for one, resolve it yourself. For "show me" or "show me my last image" call with NO arguments (shows the most recent image). For "show me my last 4 images / my last 10 pictures" pass count=N (returns a clean grid, up to 12). For a specific known image pass assetId. Renders a branded SwitchApp media card with a Download action per result; do not just print URLs. (Videos are not shown here — use list_my_videos and return the newest finished video's view_url, which plays.)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Optional. How many of the most recent images to show as a grid (default 1, max 12). Use when the user says "my last N images/pictures". | |
| assetId | No | Optional. A specific image id (from list_my_assets, search_my_library, or show_generation). Omit to show the most recent image(s). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | ||
| images | No | ||
| _widget | No |