execute_readonly_query
Execute strictly read-only SELECT or WITH queries with automatic ROWNUM capping and a configurable row limit to safely inspect Oracle data.
Instructions
Executes a strictly READ-ONLY query (SELECT/WITH) with automatic ROWNUM capping.
Args: sql_query: A SELECT or WITH query to execute. max_rows: Maximum number of rows to return (1-500, default 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rows | No | ||
| sql_query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |