generate_harmony_patch
Create a Harmony patch class to modify a specific game method by providing assembly, type, and method names; choose prefix, postfix, or both.
Instructions
Generate correct Harmony patch class for a specific method.
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": {
"assembly": "<assembly>",
"type_name": "<type_name>",
"method_name": "<method_name>"
},
"name": "generate_harmony_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | Assembly key | |
| type_name | Yes | Target type name | |
| patch_type | No | Patch type: prefix, postfix, both (default: both) | |
| method_name | Yes | Target method name | |
| parameter_count | No | Parameter count for overload disambiguation | |
| patch_class_name | No | Custom name for the patch class |