Skip to main content
Run read-only SQL queries and aggregate reports over Clarify CRM workspace records.
Tool ID: clarify_run_query

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe clarify_run_query --json for the latest machine-readable contract.

Input reference

Runs a read-only SQL query over the workspace’s records with the caller’s record access applied, and returns the rows as JSON with offset pagination in links and meta. A LIMIT or OFFSET in the SQL bounds the whole result, and page[offset] and page[limit] (up to 500) page within it. Each page reruns the query, so add an ORDER BY for stable pages. 64-bit integers, such as COUNT(*), come back as strings to keep their precision.

Output reference

Standard tool result payload.

Deepline cost

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