propose_sql
Open proposed SQL in a new PlatypusDB editor tab for user review, editing, and manual execution; nothing runs automatically, so changes can be checked before applying.
Instructions
Proposes SQL to the user: PlatypusDB opens it in a new editor tab on the connection (now if the app is open, else when it starts), where the user reviews, edits and runs it by hand. Nothing runs here, whatever the connection's agent access: use it for changes the user should check, or that read_only access does not allow. title names the tab.
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": {
"connection": "<connection>",
"sql": "<sql>"
},
"name": "propose_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL to open in the editor: one statement or a script. | |
| title | No | The editor tab's title, e.g. what the SQL does. | |
| connection | Yes | The connection's name, as `list_connections` shows it. |