list_screenshots - kubed-io/selenium-flow GitHub Wiki
This workspace's saved screenshots, not yet kept.
| MCP resource | workspace://files/screenshots |
| HTTP | GET /files/screenshots |
Newest first. Works after the browser that took them is gone, because they are already ours.
This action takes no parameters.
Every call names its workspace: an X-Workspace header, or
?workspace=<name>. Sending both is refused. See Workspaces.
| Field | Type | Notes |
|---|---|---|
workspace |
string | |
folder |
string | |
uri |
string | |
count |
integer | |
browser |
boolean | Present on downloads only: whether a browser is open to read them from. |
files |
array |
| Status | Means |
|---|---|
400 |
The request cannot succeed as sent — an unusable name, or a server with no DATA_DIR to keep files in. Do not retry it unchanged. |
401 |
Missing or wrong bearer token. |
404 |
No such browser session, or no such file in it. It ended, the Grid reaped it, or the id was never real. |
500 |
Something failed that this server did not expect. |
503 |
The Grid could not serve this — unreachable, or failing. Worth retrying after a wait. |
Over MCP the same failures arrive as a tool error.
MCP
read workspace://files/screenshots
read_resource(uri="workspace://files/screenshots")
HTTP
curl -X GET $SELENIUM_FLOW/files/screenshots \
-H "Authorization: Bearer $TOKEN" \
-H "X-Workspace: $WORKSPACE"