unpin_memory
Unpin a memory chunk to allow automatic eviction. Removes the lock so the system can swap it out.
Instructions
解除 chunk 在当前项目中的 pin,允许被自动淘汰。
OS 类比:munlock(addr, len) — 解除内存锁定,页面重新可被 swap out。
Args:
chunk_id: 要解锁的 chunk ID
project: 项目 ID(默认自动解析当前目录)
Returns:
操作结果描述
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": {
"chunk_id": "<chunk_id>"
},
"name": "unpin_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_id | Yes | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |