simulate_chain
Apply edits sequentially and evaluate each step for diagnostics, identifying the last safe step with zero net delta. Use it to determine the safest partial application of a multi-step change.
Instructions
Apply a sequence of edits and evaluate after each step. Returns per-step diagnostics and identifies the safe-to-apply-through step (last step with net delta == 0). Use this to find the safest partial application of a multi-step change. All line/column positions in each edit are 1-indexed.
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": {
"session_id": "<session_id>",
"edits": "<edits>"
},
"name": "simulate_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | ||
| session_id | Yes | ||
| timeout_ms | No |