file_upload_cancel
tools/call
Fence an upload; unresolved writes remain reserved. id is the fileId returned by file_upload_begin, not its upload intent id.
Scopes
write:files
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
- idempotencyKeystringRequired
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 connection holds the tool's Files scope.