begin_transaction
Start a transaction to safely batch model modifications, backing up file-backed models so rollback restores the exact prior state. Use the returned txn_id to commit or rollback.
Instructions
Start a transaction before a batch of modifications. For file-backed models the current file is saved and backed up so rollback can restore the exact pre-transaction state. Pass the returned txn_id to commit_transaction / rollback_transaction.
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": {
"model_id": "<model_id>"
},
"name": "begin_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| auto_save | No |