Skip to main content

talonic_sources_browse

List the folders and files inside a connected source, one level and page at a time: pass folder_id to open a folder, page_token from the previous answer for the next page, q to search by name. Shows only what the caller may see in that source. Use the file ids with talonic_sources_import. NOT FOR documents already in Talonic: talonic_search.

Availability

Listed when the session can read the workspace's sources (sources:read on a connector session); connecting, importing and sync settings need sources:write. Being listed only means the tool is visible: Talonic checks your role again on every call.

Behaviour and cost

  • Reads only. It never changes workspace data.
  • Cost: no credits.

Parameters

ParameterTypeDescription
connection_id *stringThe connection id from talonic_sources_connections
folder_idstringFolder to open; omit for the top level
page_tokenstringnext page token from the previous answer
qstringSearch by file or folder name

Example

Example
// talonic_sources_browse({ "connection_id": "1111…", "q": "invoice" })
{ "data": [{ "id": "f_9", "name": "Invoice 2026-11.pdf", "kind": "file" }], "next_page_token": null }

Errors

A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.

Frequently asked questions

Does browsing import anything?+
No. Only talonic_sources_import brings files in.