Library Delete
library_deleteDeletes specified works by ID from the local literature library; use only on explicit user delete requests because removal is irreversible. Passing '*' clears the entire library.
Instructions
Delete works from the local library.
DESTRUCTIVE — call ONLY on an explicit user delete request; never call proactively during a literature workflow.
Removes works by ID from the local library.
⚠️ 谨慎使用:删除不可恢复。除非用户明确要求删除,否则 AI 不应
调用本工具——尤其是 work_ids="*" 会清空整个库(含论文与来源)。
没有用户明确的删库指令时,AI 不要自行调用。
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": {
"work_ids": "<work_ids>"
},
"name": "library_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_ids | Yes | Comma-separated work IDs (e.g. ``"W123,W456,W789"``) or ``"*"`` to delete ALL works (clears the entire library including sources). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |