Save a custom game
create_custom_gameSaves a supplied self-contained HTML game as a free private draft. Returns a preview URL and private management token. Accepted games have inline code and embedded assets, keyboard and touch controls, a goal and restart. Network requests, payments and personal-data collection are prohibited. Repeated requests with the same idempotency key return the existing draft.
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": {
"recipient": "<recipient>",
"sender": "<sender>",
"title": "<title>",
"concept": "<concept>",
"game": "<game>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_custom_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | ||
| theme | No | sunshine | |
| title | Yes | ||
| sender | Yes | ||
| concept | Yes | ||
| message | No | ||
| occasion | No | just-because | |
| recipient | Yes | ||
| idempotencyKey | Yes | ||
| recipientEmail | No |