Attach picture
attach_pictureAttach a screenshot or short screen recording to a Goal, step, or hand test so the Developer can view and enlarge it on the dashboard instead of opening a named file in chat.
Instructions
Show the Developer a screenshot or a short screen recording on the dashboard instead of naming a file in chat. It is copied (not moved) next to the plan, stays on this computer and out of git, and appears on the Goal, on the step or on the hand test you name; the Developer clicks it to enlarge. Allowed: .png .jpg .jpeg .webp .gif and .webm .mp4, up to 10 MB, with a short caption. To take one back, pass remove with its ID (such as 'p2') instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "attach_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | The claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals. | |
| path | No | The file's path, absolute or from the project's folder. | |
| task | No | The ID of the Task it is about, such as 't3'. | |
| remove | No | The ID of a picture to remove (such as 'p2'), instead of attaching one. | |
| caption | No | What it shows, in a few plain words (up to 200 characters). | |
| hand_test | No | The ID of the hand test it is about, such as 'h2'. |