Database Tools for Agents
Database Integration#
System Prompt Snippet#
You must add it to the Agent system prompt:Use the tool `Get Base Schema` to load the entire database model (tables, columns, types, policies).
**Important: Obtain the schema before any other operation by calling `Get Base Schema`!**
Purpose: Fetch full schema so the agent understands available tables, fields, and rules.
altaner_component_id
(Hard-coded): {{[$vars].room.meta_data.components.base.id}}
base_id
(Hard-coded): Your Supabase project’s base ID (prompt Altan if missing)
Read Operations#
Purpose: Retrieve rows from a specific table.
path
(Agent): Target table name
Filter Conditions
(Agent): WHERE clause filters
Columns Selection
(Agent): List of fields to return
Write Operations#
Purpose: Insert new rows into a table.
path
(Agent): Target table name
body
(Agent): JSON payload of column-value pairs
Modified at 2025-08-07 19:51:35