Publish proof
publish_proofPublish this run's proof for a pull request: returns Markdown to post as the PR comment (passed or failed, duration and cost from the phone's session, up to 3 screenshots, and a link to the screen recording if record_screen started one) and the screenshot URLs. Pick the screens the reviewer needs: "current" is the screen now; an image URL from an earlier publish_proof pins that screen. Before/after: install main's build, open the screen the PR changes, publish_proof with title "Before" (don't post it) and keep its image URL; install the PR's build, open the same screen, publish_proof with screenshots [that URL, "current"] and labels ["Before", "After"], and post that Markdown: the two show side by side. Screenshots are image files at unguessable URLs, deleted after 30 days. Call it when the test is done and before delete_phone.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phone_id": "<phone_id>",
"title": "<title>",
"status": "<status>"
},
"name": "publish_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | What the run tested, in a few words, e.g. "Login flow" | |
| labels | No | Optional: one short name per screenshot, e.g. ["Before", "After"]; the screenshots then show side by side under them | |
| status | Yes | passed or failed | |
| phone_id | Yes | Phone id, ph_… | |
| screenshots | No | "current" for the screen now, an image URL from an earlier proof of this workspace, or base64 PNGs; leave out for one screenshot of the current screen | |
| idempotency_key | No | Any unique value, e.g. a UUID. Retrying with the same key and proof returns the same proof instead of a second one (24 h). |