Ask the user for a screenshot
request_screenshotAsk a human to take a screenshot and attach it to a bug report when you need visual evidence you cannot capture yourself; waits until done or timeout.
Instructions
Ask the human at the machine to take a screenshot (for example to show a bug, or to check a
fix) and attach it to a report. Use this when you need visual evidence you cannot produce
yourself; to attach an image file that already exists, use attach_image. Opens the user's
capture tool and blocks until they finish, cancel or timeout_seconds passes. Adds the image
to the report (and creates a report for issue if needed). Returns {"status": "captured",
"report_id"} plus the screenshot as image content, or a status of "cancelled", "error" or
"non_interactive" (no desktop available, e.g. over SSH or in a container) with a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Text appended to the report's notes and tied to the new screenshot, e.g. 'after the fix'. | |
| issue | No | GitHub issue to attach it to instead, as 'owner/repo#123' or '123' for the repo configured in .bugcap.toml. A report is created for the issue if none exists yet. | |
| message | No | What you want the user to capture, shown to them before the capture tool opens. | |
| report_id | No | Report to attach the screenshot to. Give this or `issue`; this wins if both are set. | |
| timeout_seconds | No | How long to wait for the user before giving up, in seconds (default 300). |