Internal Database

Discover and operate database tables the current user can access.

zgiai 2c5d238 790 B Updated

File contents

Internal Database Skill

Use this skill to work with database tables the current user can access.

Workflow

  1. Call list_accessible_databases before using a database ID.
  2. Call list_database_tables before using a table ID.
  3. Call describe_database_table before writing records so field names and types are known.
  4. Use only database IDs and table IDs returned by these tools.
  5. For record changes, call only the structured insert, update, or delete tools. Do not generate or ask to run SQL.

Tool Usage

Read operations require database view and AI query permissions. Write operations require AI query permission plus database data edit or manage permission.

zgiai/zgi/tree/main/api/internal/modules/skills/catalog/internal-database commit 2c5d238f78

Frequently asked questions

npx skillmds@latest add zgiai/internal-database