Mascot Assets
mascot_assetsImports approved mascot poses and blink variants into the Xcode asset catalog, ensuring states without a pose use a fallback.
Instructions
Import approved mascot poses and blink variants into Resources/Assets.xcassets/Mascot/.
Use when: after mascot_blink; states without a pose borrow a fallback. Returns: {ok, imagesets: [names]}.
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": {
"app_dir": "<app_dir>"
},
"name": "mascot_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | No | Mascot pose/state names, e.g. ['idle', 'happy']; omit for all states. | |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| source_dir | No | Directory with approved pose PNGs; omit for <app>/design/mascot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||