set_yolo_mode
Enable or disable yolo mode for one configured database, skipping the write-consent prompt; the setting persists across sessions and is audit-logged.
Instructions
Enable/disable yolo (skip the write-consent prompt) for one database, persisted.
Call it ONLY when the user explicitly asks to turn yolo on or off — never to get past a consent prompt yourself. It is saved in connections.json, so it lasts across sessions and applies to every client using that file, and each flip is recorded in the audit log. On a read-mode database the flag is stored but has no effect: yolo can never make a read database writable, and on a write database the dry-run preview still applies.
Returns meta, database, yolo and persisted, plus audit_recorded and
warning when the audit line could not be written.
A call cancelled while the write was in progress may still have been applied; list_databases shows the stored value. A result with audit_recorded: false means the flip persisted but no audit line was written.
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": {
"database": "<database>",
"enabled": "<enabled>"
},
"name": "set_yolo_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true: skip the consent prompt for this database. false: ask again. | |
| database | Yes | Name of a configured database, exactly as list_databases returns it (case-sensitive). Not a DSN, host or server-side database name. An unknown name is an error that lists the configured names. |