SpecifyDocs

context_link_archive

tools/call

Archive one typed context link from an exact endpoint. Archiving never changes endpoint access and requires write authorization for the supplied endpoint.

Scopes

Needs the write scope of the supplied endpoint: write:work, write:ideas, curate:memory or write:agent_sessions. A memory recorded from an agent session also needs read:agent_sessions; without it the memory is left out, or reads as NOT_FOUND.

Inputs

linkIdstringRequired
Context link ID
fromobjectRequired
Exact endpoint from which the link is being archived
idempotencyKeystringRequired
Unique retry key

Returns

The archived link. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The key has agent access.