read_data
Execute read-only SELECT queries with automatic result limiting and blocking of destructive operations.
Instructions
Executes a read-only SELECT query. Auto-limits results if no TOP clause present. Blocks destructive operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL SELECT query to execute (must start with SELECT and cannot contain destructive operations). Example: SELECT * FROM movies WHERE genre = 'comedy' | |
| database | No | Optional: Target database name for server-level access environments. If specified, queries will use three-part naming (database.schema.table). Requires server-level access. | |
| maxRows | No | Optional override for maximum rows returned (1-100000). | |
| environment | No | Optional environment name to target. |