Skip to main content
Running SQL against the tenant customer DB and returning structured rows.
Tool ID: query_customer_db

Run this action

Use the TypeScript SDK for a single call. Put ctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.

CLI

Example response

The SDK exposes this shape at result.toolResponse.raw. Values below are representative.
Use deepline tools get query_customer_db --json for the latest machine-readable contract.

Input reference

Query the workspace customer database through Deepline APIs and return structured rows. This is the agent-safe SQL surface: read permitted schemas, but write only schema-qualified customer-managed targets outside protected Deepline schemas. CREATE TABLE, INSERT, UPDATE, DELETE, ALTER, DROP, TRUNCATE, and CREATE INDEX require schema-qualified targets.

Output reference

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.