link_thread_artifact
Attach an uploaded workspace artifact to a thread as evidence by its sha256 hash, moving the thread's version. Requires a prior upload and workspace:write; relinking keeps the first link.
Instructions
Link an artifact your workspace holds to a thread as evidence, by its sha256. Upload it first; a hash your workspace does not hold is not found. Linking twice keeps the first link. Moves the thread's version. Requires workspace:write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thread_id": "<thread_id>",
"sha256": "<sha256>"
},
"name": "link_thread_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | the artifact's sha256, hex | |
| thread_id | Yes |