test_query
Test SQL queries by automatically adding a row limit to prevent large result sets. Preview query results with a configurable maximum number of rows.
Instructions
Test a SQL query with automatic LIMIT (for exploration). Automatically adds LIMIT to prevent large result sets.
Args: database_id: The ID of the database to query query: SQL query to test limit: Maximum rows to return (default 10)
Returns: Query results preview
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | ||
| query | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |