SpecifyDocs

file_link

tools/call

Attach a file to an independently authorized same-account target.

Scopes

link:files

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
idstringRequired
expectedVersionintegerRequired
idempotencyKeystringRequired
targetobjectRequired

Returns

The file link 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.