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.
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": "validate_patch_target"
}
}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 |