replace_method_body
Replace a method body in a .NET assembly with custom IL bytecode. Specify the method by its fully qualified name to inject new instructions.
Instructions
Replace a method body with caller-supplied IL bytes.
v2.8.0: returns status: not_implemented.
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": {
"path": "<path>",
"method_fqn": "<method_fqn>",
"new_il_b64": "<new_il_b64>"
},
"name": "replace_method_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method_fqn | Yes | ||
| new_il_b64 | Yes | ||
| dst | No | ||
| confirm_legal | No |