db_query
Read from this workspace's own database. Pass either a natural-language question (e.g. 'how many records were added this week') or a raw SQL SELECT. Read-only; returns rows plus a chart hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | Raw SQL SELECT (alternative to question) | |
| question | No | Natural-language question about the data | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |