begin_transaction
Start a database transaction to group write operations. Use commit or rollback to finalize.
Instructions
Begin a database transaction.
Starts a new transaction. All subsequent write operations (write_record, delete_record) will be part of this transaction until commit_transaction or rollback_transaction is called.
Returns: Dictionary containing: - status: success or error - in_transaction: True if transaction is now active - started_at: Timestamp when transaction started
Note: Only one transaction can be active at a time. Attempting to start a new transaction while one is active will fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||