commit_session
Commit a simulated language server session by writing approved changes to disk or generating a unified diff patch for review.
Instructions
Commit a simulation session. With apply=true, writes changes to disk and notifies LSP servers. With apply=false, returns a unified diff patch. Use after evaluate_session confirms the changes are safe.
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>"
},
"name": "commit_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| target | No | ||
| session_id | Yes |