# Turso AI integration on Definable

> Turso is a fully managed database platform built on libSQL, offering serverless SQLite databases with global replication and low-latency access.

## What this connects

Turso is a fully managed database platform built on libSQL, offering serverless SQLite databases with global replication and low-latency access.

Vendor: https://turso.tech/

## Tools available

**3** tools available. First 3:

- `TURSO_CLOSEST_REGION` — Closest Region — Tool to get the closest Turso region based on client location. Use when you need to minimize latency by selecting the nearest deployment region.
- `TURSO_LISTEN_TO_CHANGES` — Listen To Changes — Listen to committed table changes in a Turso database via the /beta/listen endpoint. This tool streams real-time insert/update/delete events for a specific table. IMPORTANT: Requires a database-specific URL (e.g., 'https://mydb-myorg.turso.io'), NOT the platform API URL (api.turso.tech). Note: The /beta/listen endpoint is NOT available on AWS regions for Free, Developer, and Scaler plans. When unavailable, the action falls back to a /v2/pipeline health check.
- `TURSO_VALIDATE_API_TOKEN` — Validate API Token — Validates a Turso API token and retrieves its expiration time. Use this action to verify that an API token is valid and check when it expires. Returns the token's expiration timestamp, or -1 if the token has no expiration.

## Auth

Auth schemes: `API_KEY`.

## How agents use Turso

Inside a Definable workflow, Turso is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Turso** — the Researcher (GPT-5.5) pulls context from Turso (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Turso** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Turso (create record, post message, draft email).
- **Designer / Engineer → Distributor → Turso** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Turso (attach file, open PR comment, post status).

The Verifier checks every Turso call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- databases — https://definable.ai/apps/category/databases/

## Related

- HTML page: https://definable.ai/apps/turso/
- Same category (databases): https://definable.ai/apps/category/databases/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
