Execute write/DDL on a Managed Database
nexusai_managed_db_executeRun a write or DDL statement (INSERT/UPDATE/DELETE/CREATE/ALTER/...) against a managed database. Requires manage scope. SQL is safety-checked. Without confirmed=true the statement is only previewed, not run.
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": {
"managedDatabaseId": "<managedDatabaseId>",
"sql": "<sql>"
},
"name": "nexusai_managed_db_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No | Optional positional parameters. | |
| confirmed | No | Set to true only after the person has reviewed and approved this exact statement. | |
| managedDatabaseId | Yes |