get_method_il
Retrieve raw IL bytecode for a named method in a specified assembly and type. Use it to inspect .NET or Unity game code for analysis or patching.
Instructions
Get raw IL bytecode for a 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": "get_method_il"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | Assembly key | |
| type_name | Yes | Full type name | |
| method_name | Yes | Method name |