session_close
Close an active session to stop recording and generate artifacts: video, trace, report, and result files. Optionally provide a verdict and summary; otherwise derived from assertions.
Instructions
Close an open session, stop the recording and write video.webm, trace.zip, report.md, chapters.vtt and result.json. Optionally pass your own verdict (reproduced, not_reproduced, fixed, still_broken, passed, failed, inconclusive) and summary; otherwise they are derived from the executed assertions. Fetch artifacts with get_artifact using the session id as run_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | ||
| verdict | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| mode | Yes | ||
| label | No | ||
| steps | Yes | ||
| title | Yes | ||
| run_id | Yes | ||
| browser | Yes | ||
| outcome | Yes | ||
| summary | Yes | ||
| verdict | Yes | ||
| warnings | No | ||
| artifacts | Yes | ||
| run_error | No | ||
| ticket_id | Yes | ||
| started_at | Yes | ||
| target_url | Yes | ||
| duration_ms | Yes | ||
| finished_at | Yes | ||
| observations | Yes | ||
| acceptance_criteria | Yes | ||
| video_offset_uncertainty_ms | Yes |