validate_patch_target
Verify a Harmony patch target method exists with the expected signature before patching a game assembly, preventing failed mod injections.
Instructions
Validate that a Harmony patch target method exists with expected signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | Assembly key | |
| type_name | Yes | Target type name | |
| method_name | Yes | Target method name | |
| expected_params | No | Expected parameter types (comma-separated) | |
| expected_return | No | Expected return type |