safe_query
Execute read-only SQL SELECT/EXPLAIN queries with automatic LIMIT enforcement and mutation blocking to prevent accidental data changes.
Instructions
Execute a strictly read-only SQL query with automatic LIMIT enforcement and mutation blocking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default: 100, max: 1000) | |
| query | Yes | SQL query to execute (must be SELECT/EXPLAIN) |