Tables

Export a table to CSV

tables_export · Changes data · Markdown

A CSV of a table, or of the rows matching filters, saved in the file store with a download link.

$0.001 a call

From your agent’s balance. A call that fails costs nothing.

An example

Send me a spreadsheet of every job that was picked up.

Your agent callstables_export$0.001 a call

The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.

With these arguments
{
  "table": "Workshop jobs",
  "filters": [
    {
      "column": "Status",
      "op": "eq",
      "value": "Picked up"
    }
  ]
}
What comes back
{
  "file": {
    "file_id": "20adf699-b4cd-4343-8d96-2afd54e55d73",
    "name": "Workshop jobs.csv",
    "content_type": "text/csv",
    "size": "126 bytes",
    "size_bytes": 126,
    "sha256": "5ad08bd9a876fa33aebd7a59b7520f4693ea29e232799147f60876a5dbc4b249",
    "created_at": "2026-10-14T08:00:00+00:00",
    "download_url": "https://cncto.co/d/20adf699-b4cd-4343-8d96-2afd54e55d73?t=eyJmIjoiMjBhZGY2OTktYjRjZC00MzQzLThkOTYtMmFmZDU0ZTU1ZDczIiwiZXhwIjoxNzkyMTU5ODI0fQ:1xHMA4:xtoYoksgXxsTuWOxICGu2WCnicytYA7elrUXBq01M3c",
    "link_expires_in_hours": 24
  },
  "rows": 1
}

Use it when

Someone wants the rows as a spreadsheet.

What it does

A CSV of the table (or of the rows matching filters) in the file store, with a download link.

What comes back

file: the CSV with its file_id, name, size and download link; rows: how many it holds. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
tableRequiredstringThe table's name (or its table_id). 1 to 80 characters.
filtersarray of objectsUp to 20 items.
filters[].columnRequiredstringUp to 60 characters.
filters[].opstringOne of: eq,neq,contains,not_contains,gt,gte,lt,lte,empty,not_empty,in.
filters[].valueany
matchstringOne of: all,any. Default: all.

The call

Over MCP, call tables_export on https://api.conecto.chat/mcp/tables. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/tables_export \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"table":"Workshop jobs","filters":[{"column":"Status","op":"eq","value":"Picked up"}]}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No table has that name or table_id, or the table has no column of that name.Call tables_list for the tables and their columns.
invalid_input400A filter's op is unknown, compares with the wrong kind of value, or uses gt, gte, lt or lte on a column that is not a number or a date.Use the ops this page lists, with values of the column's type.
storage_full409The file store has no room for the CSV.Delete files with files_delete, or add room with files_add_storage.
too_large413The CSV would be over 25 MB.Export fewer rows with filters.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md