easyar_run_unity_method
Run a Unity static editor method in batch mode to automate project tasks. Execute any fully qualified static method for automated workflows.
Instructions
Run a Unity static editor method in batch mode for project automation.
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": {
"projectPath": "<projectPath>",
"executeMethod": "<executeMethod>"
},
"name": "easyar_run_unity_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Unity project path. | |
| executeMethod | Yes | Fully qualified static method, for example EasyAR.EditorTools.EasyARSampleRunner.OpenSampleScene. | |
| unityPath | No | Unity executable path. Defaults to EASYAR_UNITY_PATH or Unity on PATH. | |
| timeoutSeconds | No |