Replace a drop's content
dropyour_replaceReplace the content of an existing drop — HTML, or a base64 .zip once the app has GRADUATED to tier 4. The URL never changes (origin contract): visitors' browser data survives the update. A drop keeps its type: .zip sites are replaced by a .zip, single-file drops by HTML. If other apps call this one under a contract (dropyour_link), the new version is checked against it before it stays live: a version that breaks one is refused and the previous one put back (error consumer_contract_broken). With an account token, owned drops need no managementToken.
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": {
"dropId": "<dropId>"
},
"name": "dropyour_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The new complete HTML content (single-file drops) | |
| dropId | Yes | ||
| zipBase64 | No | The new .zip archive, base64-encoded — graduated apps only (tier 4) | |
| managementToken | No | The token returned by dropyour_publish — optional for drops owned by your account token |