Skip to main content

well_get_schema

Discover available data types and fields.

well_query_records

Query records from Well’s database. *Either fields or allFields: true required

well_create_company

Create a new company.

well_create_person

Create a new contact.

Examples

Example 1: Query financial data

User prompt:
What happens:
  • Server calls well_get_schema("invoices") to discover available fields
  • Server calls well_query_records with invoice root, filtering by status and amount
  • Returns matching invoices with invoice number, amount, due date, and issuer name
  • AI presents results in a formatted table

Example 2: Create a new contact

User prompt:
What happens:
  • Server calls well_create_company to create Acme Corp if it doesn’t exist
  • Server calls well_create_person with first_name, last_name, email, and job_title
  • Returns confirmation with the new person ID and company association
  • Contact is immediately available in your Well workspace

Example 3: Build a financial dashboard

User prompt:
What happens:
  • Server calls well_query_records to fetch all invoices with issuer, receiver, amounts, and dates
  • Server calls well_query_records to fetch companies data
  • AI analyzes the data structure and generates a complete React dashboard artifact
  • Dashboard displays real financial data with interactive charts (Recharts)
  • Includes filtering, sorting, and responsive dark mode design

Example 4: Query transactions

User prompt:
What happens:
  • Server calls well_get_schema("transactions") to discover available fields
  • Server calls well_query_records with transactions root, filtering by date
  • Returns matching transactions with amounts, dates, and associated accounts
  • AI presents results in a formatted table

Example 5: View connected accounts

User prompt:
What happens:
  • Server calls well_get_schema("accounts") to discover available fields
  • Server calls well_query_records with accounts root
  • Returns all connected accounts with provider, status, and balance info
  • AI presents a summary of connected financial accounts