patina_call
Execute internal Patina Unity commands to control the Editor, targeting the default workspace, another project, or one open editor session.
Instructions
Execute an internal Patina Unity command. Targets the agent working-directory workspace by default; pass workspace to target a different project, or sessionId (from patina_sessions) to target one editor directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Internal Patina command name returned by patina_capabilities. | |
| sessionId | No | Optional exact Unity session ID from patina_sessions. Sufficient on its own -- the default workspace is not applied as a constraint. Required when one workspace has multiple open editors. | |
| workspace | No | Canonical absolute path to the Unity project root. Omit to fall back to this MCP process working directory, which applies only when sessionId is also omitted; supplied together with sessionId, both must resolve to the same session. | |
| parameters | No | JSON parameters for the command. Pass {} (or omit) for commands with no parameters. A JSON-object-encoded string (e.g. "{\"x\":1}") is also accepted and parsed; null or an empty/whitespace string is treated as {}. Any other type (number, bool, array, non-object string) is rejected. |