hana_execute_ddl
Executes DDL statements (CREATE, ALTER, DROP, GRANT) on SAP HANA Cloud with a required confirm flag to prevent accidental changes.
Instructions
Ejecuta una sentencia DDL en SAP HANA Cloud (CREATE, ALTER, DROP, GRANT...).
REQUIERE confirm=True explícito — protección contra ejecuciones accidentales. DROP y TRUNCATE son irreversibles. Úsalo con cuidado.
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": "hana_execute_ddl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Sentencia DDL (CREATE, ALTER, DROP, GRANT, REVOKE...). | |
| confirm | No | Debes pasar confirm=True explícitamente para ejecutar DDL. Medida de seguridad. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |