SpecifyDocs

file_upload_begin

tools/call

Reserve a single-part upload; target attachment additionally requires link:files.

Scopes

write:files

Also needs link:files when a target is given. The target entity's scopes apply too: a task needs read:projects, and write:projects to link; a memory needs read:memory, and curate:memory (or contribute:memory on your own proposal) to link, and read:agent_sessions when it was recorded from an agent session; a document follows its owner's document scopes. Without them the entity reads as NOT_FOUND.

Inputs

accountIdstringRequired
serviceTenancyIdstringRequired
expectedAuthorizationVersionstring
idempotencyKeystringRequired
filenamestringRequired
mimestringRequired
sizeBytesintegerRequired
sha256stringRequired
targetobject

Returns

The upload intent view. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The key holds the tool's Files scope.