Record Change Decision
record_change_decisionRecord accept or reject decisions for code migration changes, deterministically regenerating the deliverable and listing still-pending change IDs.
Instructions
Record the user's accept/reject for one annotated change; durable.
change_id comes from get_change_review. Every decision
deterministically regenerates the deliverable from the original, the
as-submitted content, and all live rejections; if that cannot be done
deterministically the decision is refused (NOT recorded) with the
reason. The result lists the change ids still pending for the file.
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": {
"run_dir": "<run_dir>",
"source_path": "<source_path>",
"change_id": "<change_id>",
"decision": "<decision>"
},
"name": "record_change_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| run_dir | Yes | ||
| decision | Yes | ||
| change_id | Yes | ||
| decided_on | No | ||
| source_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||