replace_string_ldstr
Replace a hardcoded string literal in a specified .NET method by providing the fully qualified method name and the old and new string values.
Instructions
Replace a specific ldstr operand within a method body.
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>",
"old": "<old>",
"new": "<new>"
},
"name": "replace_string_ldstr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method_fqn | Yes | ||
| old | Yes | ||
| new | Yes | ||
| dst | No | ||
| confirm_legal | No |