sql_editor_execute
Execute a user-confirmed SQL statement, including writes and DDL, in the SQL Editor, returning streamed rows or the affected-row count.
Instructions
Run any single statement the user confirmed in the SQL Editor app (writes and DDL included).
Streamed like sql_editor_query: returns the first ``max_rows`` rows of a statement that returns rows (or
the affected-rows count) and the rest pages through sql_editor_rows; ``stream_id`` / Stop as there. The
statement is sent once (never retried after a dropped connection).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": {
"sql": "<sql>"
},
"name": "sql_editor_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| tab | No | ||
| file | No | ||
| tab_id | No | ||
| database | No | ||
| max_rows | No | ||
| replaces | No | ||
| stream_id | No |