| name | latest |
| description | Fetch the most recent appshot without taking a new capture |
Get Latest AppShot
Use when you need to reference the most recent app capture without initiating a fresh screenshot.
When to use
- User shows you something and you want to access the last appshot they captured
- You're analyzing or building on a previous capture from the same session
- You need to compare current state to the cached latest appshot
- User asks to "show me the latest", "get the last screenshot", or "what did we capture"
What it does
Invokes the get_latest_appshot MCP tool, which retrieves the most recent capture from ~/.appshots/:
- Reads the stable pointer
~/.appshots/latest.txt to get the capture directory
- Loads the appshot prompt, screenshot, accessibility tree, and metadata
- Returns in the requested format (default:
<appshot> text + screenshot image)
Output formats
Pass format to customize the response:
codex (default): <appshot> block text item + screenshot image item
prompt: the full appshot markdown with Codex <appshot> block (text only)
model_prompt: model-ready prompt format
context: structured AppshotContext object with app icon and transition snapshot
json: machine-readable metadata
payload: JSON with the model prompt, image path, image data URL, and metadata
events: the capture status event log
image_path: path to the screenshot image on disk
directory: path to the capture directory
Related