Use this skill for asking database questions that involve one of the configured database sources (Voice Admin SQLite, localhost SQL Server, or other configured provider aliases).
Procedure
- Determine the user’s target database alias now. If alias is missing, invoke list_databases or select_database.
- For schema inquiry:
- To list tables: list_tables(alias)
- To describe columns: describe_table_schema(alias, table)
- For counts or previews:
- count_table_rows(alias, table)
- preview_table_rows(alias, table, rowLimit)
- For table resolution:
- resolve_table_object(alias, candidateName)
- follow with list_tables/describe_table_schema as required.
- For filters:
- query_table_rows(alias, table, whereClause, limit)
- For advanced user-provided queries:
- execute_read_only_sql(alias, sql)
- enforce SELECT-only (no INSERT/UPDATE/DELETE/DDL) and validate before execution.
- Always prefer tool calls over inferred data. Do not guess table contents from memory.