archery_query
Execute read-only SQL queries against specified Archery database instances (CN or AWS Japan). Supports SELECT, SHOW, DESC, EXPLAIN, and WITH statements with configurable result limits.
Instructions
执行 SQL 查询(只读)。
site=cn 国内 / aws 日本云。instance 可用别名:prod/prod-ro/dev/test。 db 默认 srm。仅允许 SELECT/SHOW/DESC/EXPLAIN/WITH 前缀。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| sql | Yes | ||
| site | No | cn | |
| limit | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |