Add a screenshot
add_screenshotAdds one screenshot per call to a project from a public URL or local file, up to five images total.
Instructions
Adds one screenshot to a project (5 at most), from a public URL or, with the npx package, a local file. Each call adds another one, so do not repeat a call that succeeded.
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": {
"project_id": "<project_id>"
},
"name": "add_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public image URL: PNG, JPEG, GIF or WebP, 5 MB at most | |
| file_path | No | A local image inside SUBMITATOR_FILES_DIR (or the starting folder), instead of url | |
| project_id | Yes | Project id (prj_...) |