create_note
Creates a wiki note with validated IDs, tags, links, and templates; blocks duplicate IDs unless forced and supports dry-run previews.
Instructions
새 wiki 노트 생성 — ID 충돌 시 force=True 아니면 거부. dry_run=True 시 미리보기.
안전장치: - ID 검증 (kebab-case, 한글 거부, 1-80자) - 충돌 시 force=True 아니면 거부 (기존 노트 보호) - 유사 ID 경고 (오타 감지) - dry_run=True 시 파일 미작성, 미리보기 반환 - force 덮어쓰기 시 자동 .bak 백업
Args: id: 노트 ID (kebab-case, 예: "prompt-chaining") title: 노트 제목 (한국어 가능) body: 노트 본문 (Markdown). 템플릿 사용 시 템플릿의 {{body}} 자리에 삽입됨. tags: 태그 목록 (예: ["rag", "mcp"]). 비우면 템플릿 기본 tags 사용. domain: 도메인 (지정 시 /concepts/.md). 빈 값 시 자동 추정. links: cross-link할 기존 노트 ID 목록. '## 관련 노트'(또는 템플릿 {{links}})에 추가. source_url: 출처 URL (빈 값 가능) force: True 시 동일 ID 덮어쓰기 (기본 False — 충돌 시 거부) dry_run: True 시 미리보기만 반환, 파일 미작성 (기본 False) template: 적용할 템플릿 이름 (list_templates 참고). 빈 값 시 기본 템플릿 (WIKI_DEFAULT_TEMPLATE) 사용, 그것도 없으면 템플릿 미사용.
Returns: JSON — status (ok/error/preview), path, warnings, backup
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>",
"title": "<title>",
"body": "<body>",
"tags": "<tags>"
},
"name": "create_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | ||
| tags | Yes | ||
| force | No | ||
| links | No | ||
| title | Yes | ||
| domain | No | ||
| dry_run | No | ||
| template | No | ||
| source_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |