SpecifyDocs

context_link_create

tools/call

Create a typed link between two exact Work, Idea, Memory, or Session endpoints. This never grants access: the caller must be authorized to read both endpoints and write the source endpoint.

Scopes

Reading needs the read scope of each endpoint type: read:work, read:ideas, read:memory or read:agent_sessions. Creating also needs the source's write scope: write:work, write:ideas, curate:memory or write:agent_sessions.

Inputs

sourceobjectRequired
Exact source endpoint
targetobjectRequired
Exact target endpoint
relation"related" | "informs" | "supports" | "blocks" | "derived_from"Required
notestring
Optional context or evidence for the relationship
idempotencyKeystringRequired
Unique retry key

Returns

The created 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.