propose_migration_or_edit
Propose a database migration or configuration edit. Returns a proposal ID to pass to simulate_impact, then apply_change with a confirmation token.
Instructions
Propose a DB migration OR a config edit. Returns a proposal_id you pass to apply_change.
Args:
kind: 'db' or 'config'
connection: (db) connection string or schema-file path
request: (db) natural-language intent, e.g. "add column email of type TEXT not null default '' to users"
sql: (db) raw SQL — takes priority over request
path: (config) path to the file being edited
new_content: (config) full new file contents
Nothing is written. Call simulate_impact(proposal_id) next, then apply_change with the one-time confirmation_token returned by the simulation step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| connection | No | ||
| request | No | ||
| sql | No | ||
| path | No | ||
| new_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||