unity_ui
Build uGUI screens by creating a Canvas with EventSystem, text labels, images, and labeled buttons. Use it to assemble Unity editor UI through MCP calls.
Instructions
Build uGUI screens: create a Canvas (with EventSystem), text labels, images, and buttons with labels. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)
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_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size | No | [width,height] | |
| text | No | ||
| color | No | #hex or [r,g,b,a] | |
| label | No | button label | |
| action | No | ||
| parent | No | parent object path, defaults to the first Canvas | |
| sprite | No | sprite asset path for image/button | |
| fontSize | No | ||
| position | No | anchoredPosition [x,y] | |
| alignment | No | TextAnchor, 4 = middle center |