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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "read_data"
}
}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. |