detach_memory_block
Remove a memory block from a single thread without deleting the block or its value from the workspace; repeat calls are safe when the block is not attached.
Instructions
Remove a memory block's attachment from one thread, identified by block id. The block and its value stay in the workspace and other threads keep it; delete_memory_block deletes the block itself and attach_memory_block is the opposite call. Returns {detached: true}, or {detached: false} when the block was not attached, so repeating the call is safe. Get block ids from list_thread_memory_blocks. 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>",
"block_id": "<block_id>"
},
"name": "detach_memory_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | UUID of the memory block (its id field, as list_thread_memory_blocks returns it), not its label. | |
| thread_id | Yes | UUID of the thread to detach the block from. You must be able to read it. |