decompile_method
Converts a single method from a game assembly into C# source code, resolving overloads by assembly key, full type name, method name, and optional parameter count.
Instructions
Decompile a single method to C# source code.
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": "decompile_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | Assembly key | |
| type_name | Yes | Full type name | |
| method_name | Yes | Method name | |
| parameter_count | No | Parameter count to disambiguate overloads |