Upload design snapshot
upload_design_snapshotFallback upload for a design snapshot, for when the PUT to the uploadUrl from prepare_design_snapshot is blocked by the environment's network (for example "Host not in allowlist"). Takes the uploadId and the complete, self-contained design HTML, and hosts it under that uploadId. The AI testers see exactly this HTML, so it must already be in the state the user wants tested (the intended start page, mode and any saved toggles/defaults), not an editor default. The design HTML is temporarily uploaded to TheySaid. Re-using an uploadId replaces the stored design. Returns { uploadId, previewUrl, nextStep }; the next step is check_design_snapshot. This tool does not start a test.
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": {
"uploadId": "<uploadId>",
"html": "<html>"
},
"name": "upload_design_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| uploadId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextStep | No | Guidance: verify → propose/relaunch → review → launch. | |
| uploadId | No | The same handle passed in, echoed for check_design_snapshot. | |
| previewUrl | No | Public URL of the hosted design the AI testers navigate. |