Query S3 Tables Database
query_databaseRun read-only SQL queries on AWS S3 Tables via Iceberg catalog. Use this tool to explore and analyze data in S3 Tables without making changes.
Instructions
Execute SQL queries against S3 Tables using PyIceberg/Daft engine. This tool provides a secure interface to run read-only SQL queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | REST URI for Iceberg catalog | |
| query | No | Optional SQL query. If not provided, will execute SELECT * FROM table. | |
| region | Yes | AWS region for S3Tables/Iceberg REST endpoint | |
| namespace | Yes | The namespace. Must be 1-255 characters long. | |
| warehouse | Yes | Warehouse string for Iceberg catalog | |
| catalog_name | No | Catalog name | |
| rest_signing_name | No | REST signing name | |
| rest_sigv4_enabled | No | Enable SigV4 signing |