Query the sandbox database
query_sandboxExecute read-only SQL SELECT queries against the sandbox database to verify queries, test aggregations, and inspect data without external terminals.
Instructions
Execute a read-only SQL query against the sandbox database.
Allows AI coding agents to verify SQL queries, test aggregations, or inspect data in the sandbox directly without opening external terminals.
Args: query: SQL SELECT query to execute. db_path: Optional path to the database (defaults to '.misata/sandbox.db'). limit: Max rows to return (default: 100).
Returns: Dict with columns, rows (as list of dicts), row_count, and execution status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| db_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |