run_method
Invoke a named method on a specified Unity type with optional arguments to execute custom editor actions or inspections.
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": {
"type_name": "<type_name>",
"method_name": "<method_name>"
},
"name": "run_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| type_name | Yes | ||
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||