run_editor_method
Execute any static Editor method in headless mode using -executeMethod. Automate builds, asset generation, or project-specific tasks by passing method name and optional arguments.
Instructions
Führt eine BELIEBIGE statische Editor-Methode headless aus (-executeMethod), als Job. Mächtig und potenziell riskant (führt projektinternen Code aus) — confirm=true nötig. method als 'Namespace.Klasse.Methode'. extra_args werden unverändert angehängt.
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": {
"project_path": "<project_path>",
"method": "<method>"
},
"name": "run_editor_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| method | Yes | ||
| extra_args | No | ||
| use_quit | No | ||
| accept_apiupdate | No | ||
| version | No | ||
| confirm | No |