SpecifyDocs

context_link_archive

tools/call

Archive one typed context link from an exact endpoint; name a project task as a work endpoint by its taskId or key. Archiving never changes endpoint access and requires read and write authorization for the supplied endpoint: read:projects, write:projects and Edit tasks on the project of a task named by its taskId or key, or read:work and write:work for a Work item ID. A task is refused as project_task_update refuses it when the task is archived or its sprint is completed, canceled or initializing.

Scopes

Needs the write scope of the supplied endpoint: write:work, write:ideas, curate:memory, write:agent_sessions or write:projects. Archiving a project's link also needs read:projects, write:projects and Edit tasks on the project, and naming a project task by its taskId or key needs read:projects, write:projects and Edit tasks on its project instead of write:work, and is refused as a task update is when it is archived or in a completed, canceled or initializing sprint, while a Work item ID needs read:work and write:work. 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
Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change

Returns

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

Listed when

The connection has agent access and every scope the tool needs.