edit_session_decision
Edit or delete a decision in the current session before it is synced, allowing you to curate decision history prior to commit.
Instructions
Edit or delete a decision in the current session.
Use this when reviewing decisions before commit:
action: "update" - Modify the decision fields
action: "delete" - Remove the decision entirely
Only ephemeral (in-flight) session decisions are editable. Once a decision is
synced to Kawa Code, it is immutable — refine it instead by recording a new
decision with supersedes: [<id>].
This allows users to curate their decision history before it's persisted.
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": {
"repoPath": "<repoPath>",
"intentId": "<intentId>",
"decisionId": "<decisionId>",
"action": "<action>"
},
"name": "edit_session_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: update modifies the decision, delete removes it | |
| updates | No | Partial fields to update (only for action=update) | |
| intentId | Yes | The intent ID the decision belongs to | |
| repoPath | Yes | Local path to the repository root | |
| decisionId | Yes | The decision ID to edit or delete | |
| forkAuthor | No | Fork attribution; usually resolved by Muninn automatically — pass only for override / testing. | |
| repoOrigin | No | Git remote origin URL. Auto-detected from repoPath via git if not provided. | |
| workspaceId | No | Workspace identifier; usually resolved by Muninn automatically — pass only for override / testing. |