unity_setup_expression_menu
Generates a VRCExpressionsMenu .asset file for Unity from a JSON blueprint. Defines menu controls like buttons, toggles, and submenus with parameters.
Instructions
Generate VRCExpressionsMenu .asset file from a JSON blueprint.
Parameters:
project_path: Unity project path
menu_json: JSON string defining menu structure. Format: {"controls": [{"name": "Emotes", "type": "SubMenu", "icon": "", "subMenu": "Assets/VRC/EmotesMenu.asset"}, {"name": "Toggle Hat", "type": "Toggle", "parameter": "HatToggle"}]} Types: Button, Toggle, SubMenu, TwoAxisPuppet, FourAxisPuppet, RadialPuppet
output_path: Where to save the .asset file (default: "Assets/VRC/ExpressionMenu.asset")
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": "unity_setup_expression_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_json | No | ||
| output_path | No | Assets/VRC/ExpressionMenu.asset | |
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |