compare_signatures
Verify that a Harmony patch signature matches the actual target method before applying a mod patch, preventing mismatched prefix or postfix patches.
Instructions
Compare expected Harmony patch signature with actual target 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": {
"game_assembly": "<game_assembly>",
"target_type": "<target_type>",
"target_method": "<target_method>",
"patch_params": "<patch_params>"
},
"name": "compare_signatures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch_kind | No | Patch kind: prefix or postfix (default: prefix) | |
| target_type | Yes | Target type name | |
| patch_params | Yes | Patch parameter types (comma-separated) | |
| game_assembly | Yes | Assembly key | |
| target_method | Yes | Target method name |