execute_query
Execute arbitrary SQL statements to run read queries, modify schema, or update data. Handles SELECT, DDL, and DML operations on the connected database.
Instructions
Execute arbitrary SQL statements on the connected database.
When to use: Use this tool for read operations (e.g., SELECT queries to verify data), schema modification (e.g., CREATE TABLE, ALTER TABLE, DDL statements), or updates. DO NOT use this for inserting mock/seed records; use insert_graph instead.
Args: query: SQL string to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||