Find files
The business's files, newest first, filtered by name, words inside, tags, type, correspondent, document date or fields.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
Find all invoices from Cascade Bike Supply this year.
Your agent callsfiles_listFree*
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.
{
"correspondent": "Cascade Bike Supply",
"document_type": "Invoice",
"date_from": "2026-01-01"
}Use it when
To find a file, or the files of a kind: this year's invoices, contracts with one supplier.
- For words across files, emails, tickets and more at once, use
account_search.
What it does
The account's files, each with its title, tags, type, correspondent, document date, fields, text status and a fresh download link; newest first unless sort says otherwise (added, document_date, title). Filters: name_contains (name or title), words (in the file's text, every one; scans once read), tags (all of them, or any with tags_match "any"), untagged, document_type, correspondent, the document date from-to, fields ([{field, value | min | max | empty}]: text and links contain the value, numbers, money and dates match it or fall in min-max), has_text (true: Conecto has its words; false: not, e.g. scans not read yet), source (email for email-in).
What comes back
files: each with its file_id, name, title, tags, type, correspondent, document date, fields, text status and a fresh download link; and the total. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
name_contains | string | Up to 100 characters. |
words | string | Words in the file's text. Up to 200 characters. |
tags | array of strings | Up to 20 items. |
tags_match | string | One of: all,any. Default: all. |
untagged | boolean | Default: false. |
document_type | string | Up to 60 characters. |
correspondent | string | Up to 200 characters. |
date_from | string | Document date on or after, YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
date_to | string | Document date on or before, YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
fields | array of objects | Up to 10 items. |
fields[].fieldRequired | string | 1 to 60 characters. |
fields[].value | string or number or boolean | Up to 2,000 characters. |
fields[].min | string or number or boolean | Up to 2,000 characters. |
fields[].max | string or number or boolean | Up to 2,000 characters. |
fields[].currency | string | Matches ^[A-Za-z]{3}$. |
fields[].empty | boolean | true: files without a value; false: with one. |
has_text | boolean | |
source | string | One of: upload,url,link,tool,email,phone,export. |
sort | string | One of: added,document_date,title. Default: added. |
order | string | One of: asc,desc. |
limit | integer | 1 to 100. Default: 20. |
offset | integer | At least 0. Default: 0. |
link_hours | integer | How long the download link works, in hours (up to 168, one week). 1 to 168. Default: 24. |
The call
Over MCP, call files_list on https://api.conecto.chat/mcp/files. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/files_list \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"correspondent":"Cascade Bike Supply","document_type":"Invoice","date_from":"2026-01-01"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | A tag, document type, field or correspondent named is not defined yet. | Define it with files_define first; files_definitions lists what exists. |
invalid_input400 | A date or a field filter is not valid. | Send dates like 2026-01-01. |
More Files tools
All 13 tools- Upload a file
files_uploadStores a file in the business's file store from its bytes, its text or a public link, with a download link.$0.001 a call - Get an upload link
files_upload_linkA one-time link to upload one file of up to 25 MB, to use yourself or hand to a person.Free - Get a file
files_getOne file's details and a fresh download link, with the text of a small text file if asked.Free* - Read a file's words
files_read_textThe words in a file as Conecto read them: text files, PDFs, office files, HTML, and scans once read with OCR.Free* - Say what files are
files_editSays what one file is, or up to 100 at once: title, notes, document date, correspondent, type, tags and fields.$0.005 per file changed - Define a tag, type, field or correspondent
files_defineAdds, renames or deletes a tag, a document type, a custom field or a correspondent to file things with.$0.001 a call - List tags, types, fields and correspondents
files_definitionsThe tags, document types, custom fields and correspondents the business files with, each with how many files use it, and the OCR settings.Free* - Read a scan with OCR
files_ocrReads the words in a scan with OCR: an image, or the pages of a PDF without text; the text is kept.$0.005 per page read
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md