file_list
tools/call
List authorized files, or the attachments of an item the key can see, in one account.
Scopes
read:files
The target entity's read scopes apply too: a task needs read:projects; a memory needs read:memory, and read:agent_sessions when it was recorded from an agent session; a document follows its owner's document scopes; a skill is the connection owner's own personal skill and needs read:skills; briefings and written briefings are attached by their author in Specify. Without them the entity reads as NOT_FOUND. A file tied to a Design item (a capture or a revision preview) also needs read:design and sight of the item; without them it is left out or reads as NOT_FOUND.
Inputs
- accountIdstringRequired
- serviceTenancyIdstringRequired
- expectedAuthorizationVersionstring
- cursorstring
- limitinteger
- namePrefixstring
- kind"image" | "pdf" | "text" | "audio" | "video" | "archive" | "other"
- entityobject
Returns
The file page | entity file page. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection holds the tool's Files scope.