Save title data
save_title_dataWrite the authored (Static) part of the title's key-value data store. REPLACES the whole bucket: read it with get_title_data first and send it back extended, or omitted keys are deleted. The Runtime scope CANNOT be written here — mutable title state is owned by CloudCode scripts, so their counters are never overwritten behind their back. Register keys in the TitleCustomData config section (save_title_custom_data) for type validation, limits, TTL and defaults.
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": {
"title_id": "<title_id>",
"bucket": "<bucket>",
"values": "<values>"
},
"name": "save_title_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Public = readable by game clients; Private = server/CloudCode only. | |
| values | Yes | Object of key → string value. Replaces the whole bucket. JSON-encode structured values yourself. | |
| title_id | Yes | TitleID. |