Agent Database

Operate database tables explicitly bound to the current Agent.

zgiai 8c69ddf 929 B Updated

File contents

Agent Database Skill

Use this skill to work only with database tables configured on the current Agent.

Workflow

  1. Call list_accessible_databases to see the databases bound to this Agent by the binding editor.
  2. Call list_database_tables to see the Agent-bound tables in a selected database.
  3. Call describe_database_table before writing records.
  4. Never ask for or invent database IDs or table IDs. The backend rejects resources outside the Agent binding.
  5. Use only structured record tools. Do not generate or ask to run SQL.

Tool Usage

Access is scoped to tables bound on the Agent. Permissions are authorized when the binding is saved by the editor, and runtime access uses that binding authorization. Mutation tools are available only for tables explicitly marked writable in the Agent binding.

zgiai/zgi/tree/main/api/internal/modules/skills/catalog/agent-database commit 8c69ddf3e1

Frequently asked questions

npx skillmds@latest add zgiai/agent-database