unlink_thread_artifact
Removes an artifact from a thread by SHA-256 and reports whether it was linked, updating the thread version when removed. Requires workspace:write.
Instructions
Unlink an artifact from a thread. Returns whether it was linked. Moves the thread's version when it was. 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": "unlink_thread_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | the artifact's sha256, hex | |
| thread_id | Yes |