executeQuery
executeQueryExecute SQL queries (SELECT, INSERT, UPDATE, DELETE, EXPLAIN) on a database via NeoSQL, using the current project context.
Instructions
Execute a SQL query on the database through NeoSQL. Supports SELECT, INSERT, UPDATE, DELETE, and EXPLAIN statements. DDL statements (CREATE, ALTER, DROP, TRUNCATE) are NOT allowed — use createTables or modifyTables tools instead. SELECT and EXPLAIN return result rows (up to 200 rows). Uses the current context (project/connection/schema).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL statement to execute. Must not be DDL (CREATE/ALTER/DROP/TRUNCATE). | |
| connectionId | No | NeoSQL connection ID from listConnections. If omitted, uses current context connectionId. | |
| schema | No | MCP-enabled database schema name from listConnections. If omitted, uses current context schema. |