Update Decision State
update_stateApply a JSON merge patch to update the decision state, and record the reason for the change.
Instructions
Apply a JSON merge patch to state.json and record why the state changed.
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": {
"patch": "<patch>",
"reason": "<reason>"
},
"name": "update_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | JSON merge patch for state.json. Arrays replace existing arrays. | |
| reason | Yes | Short reason for this state update. |