delete_note
Delete wiki notes safely by requiring confirmation, creating an automatic backup first, and reporting broken inbound links or a dry-run preview before removal.
Instructions
wiki 노트 삭제 — confirm=True 필수 (파괴적 연산). 자동 백업 후 삭제.
안전장치: - confirm=True 반드시 필요 (실수로 인한 삭제 방지) - 삭제 전 자동 백업 (.bak.) - 삭제 후 inbound link가 broken 될 노트 목록 반환 - dry_run=True 시 삭제 미리보기 (inbound 영향 포함)
Args: id: 삭제할 노트 ID confirm: True MUST — 확인 없는 삭제 거부. 기본 False. dry_run: True 시 미리보기만 반환, 파일 미삭제. 기본 False.
Returns: JSON — status (ok/error/preview), backup, inbound_links_broken, message
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": {
"id": "<id>"
},
"name": "delete_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| confirm | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |