create_pet_from_svg
Generate, auto-rig, install, and optionally spawn an animated desktop mascot from a 128x128 SVG facing left, turning custom 2D art into a usable pet.
Instructions
Generate, auto-rig, install, and optionally spawn a brand-new animated DIYPets desktop mascot from a 128x128 2D SVG facing LEFT (accepts inline svg markup up to 64 KB or a local svg_path). Use when the user asks to create or draw a custom mascot.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_pet_from_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | Inline 128x128 SVG markup facing LEFT (optional semantic <g id='body|front_leg|back_leg|wing|tail|face'> groups). | |
| name | No | Display name for the mascot (e.g. 'Cyber Crab'). | |
| spawn | No | If true (default), immediately spawn the newly created mascot onto the desktop. | |
| author | No | Creator attribution stored in the exported XML header. | |
| pack_id | No | Optional lowercase snake_case folder ID (derived from `name` if omitted). | |
| svg_path | No | Path to a local .svg file on disk (alternative to inline `svg`). | |
| archetype | No | Rigging archetype controlling walk/hop/slither/swim physics. |