db_execute
Execute INSERT, UPDATE, and DELETE database operations with configurable safety controls for PostgreSQL, MySQL, and SQLite.
Instructions
Execute INSERT/UPDATE/DELETE statements.
Respects the current safety mode:
read-only: rejects all writes
write: allows INSERT/UPDATE/DELETE, blocks DROP/TRUNCATE
admin: allows everything (destructive ops need a confirmation_token)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| sql | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |