Get embed code
get_embed_codeCode to embed a live, animated mascot in a website or app ( web component, React, or Lottie). For private mascots a signed, expiring link is created.
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": {
"id": "<id>"
},
"name": "get_embed_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| look | No | Show this look (get_mascot lists them) instead of the current one | |
| props | No | Show or hide props in this embed only, by id or name: { mug: false } | |
| canvas | No | Run a canvas (create_canvas) by name instead of one animation; the app then drives it with setInput/fire | |
| public | No | Make the mascot public so the embed never expires | |
| trigger | No | auto | |
| animation | No | idle | |
| framework | No | html |