save_hosted_world_site
Save one versioned hosted site draft. Read get_hosted_world first and pass expectedVersionId (null for its first site). Supply the complete site files. Concurrent edits fail without overwriting. Use the hosted-world skill and SDK for attached experiences. This does not publish, start paid generation, change attachments or set prices. Optional metadata changes only title, URL and description.
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": {
"workspaceId": "<workspaceId>",
"worldId": "<worldId>",
"expectedVersionId": "<expectedVersionId>",
"site": "<site>"
},
"name": "save_hosted_world_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| worldId | Yes | ||
| metadata | No | ||
| workspaceId | Yes | ||
| expectedVersionId | Yes |