update_note
Modify existing wiki notes with partial title, body, or tag edits, automatic backups, last-updated timestamps, and dry-run previews.
Instructions
기존 wiki 노트 수정 — 부분 수정 가능, 자동 .bak 백업, last_updated 자동 갱신.
안전장치: - 수정 전 자동 백업 (.bak.) - body/title/tags 각각 독립적 부분 수정 (None 시 해당 필드 유지) - last_updated 자동 갱신 (오늘 날짜) - dry_run=True 시 변경사항 미리보기만 반환
Args: id: 수정할 노트 ID body: 새 본문. None 시 본문 유지. append=True면 기존 본문 끝에 추가. title: 새 제목. None 시 제목 유지. tags: 새 태그 목록. None 시 태그 유지. append: True 시 body를 기존 본문에 추가 (교체 아님). 기본 False. dry_run: True 시 미리보기만 반환, 파일 미수정. 기본 False.
Returns: JSON — status (ok/error/preview), path, backup, changes
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": "update_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | ||
| tags | No | ||
| title | No | ||
| append | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |