execute_query
Run read-only SQL queries like SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH against MySQL databases, returning rows up to a set limit for data inspection.
Instructions
Execute a read-only SQL query (SELECT, SHOW, DESCRIBE, EXPLAIN, WITH).
Args: query: SQL query to run. limit: Max rows when the query has no LIMIT (1-1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |