SpecifyDocs

file_authorize_transfer

tools/call

Issue header-only transfer authority for a file. id is the fileId returned by file_upload_begin, not its upload intent id. Upload requires write:files instead. PUT the original bytes to the returned URL with the returned headers.

Scopes

read:files

Needs write:files instead when purpose is upload. A file the connection cannot open itself still opens read only when it is attached to an item the connection can read, with read:files; the item's read scopes apply: 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. 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
idstringRequired
expectedVersionintegerRequired
purpose"upload" | "download" | "preview" | "thumbnail"Required

Returns

The transfer capability. 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.