본문으로 건너뛰기
모든 도구

obsidian_write_note

Obsidian · macOS · Windows

효과: 쓰기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

Obsidian 볼트에 Markdown 노트를 씁니다. mode="create"는 새 노트를 쓰고(없는 폴더는 만들어짐), mode="append"는 기존 노트의 끝에 `content`를 추가합니다. confirm 없이 호출하면 미리보기를 반환하며 아무것도 쓰지 않고, confirm=true를 전달하면 씁니다. 기존 노트는 절대 교체되지 않으며 Obsidian의 설정 폴더에는 절대 쓰지 않습니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마 — macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to write. Without it the call returns a preview.",
      "type": "boolean"
    },
    "content": {
      "description": "Markdown text to write.",
      "type": "string"
    },
    "mode": {
      "description": "create: a new note. append: add to the end of an existing note.",
      "enum": [
        "create",
        "append"
      ],
      "type": "string"
    },
    "path": {
      "description": "Path of the note inside the vault, like Projects/Plan.md (.md is added when missing).",
      "type": "string"
    },
    "vault": {
      "description": "Vault name or id from obsidian_list_vaults. Optional when there is only one vault.",
      "type": "string"
    }
  },
  "required": [
    "path",
    "content",
    "mode"
  ],
  "type": "object"
}

문서 예시

obsidian_write_note 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "confirm": false,
  "content": "## Planning meeting\n\n- Can we review the launch checklist on Tuesday?",
  "mode": "create",
  "path": "Meetings/Planning meeting.md",
  "vault": "Demo Vault"
}

Windows

목적

Obsidian 볼트에 Markdown 노트를 씁니다. mode="create"는 새 노트를 쓰고(없는 폴더는 만들어짐), mode="append"는 기존 노트의 끝에 `content`를 추가합니다. confirm 없이 호출하면 미리보기를 반환하며 아무것도 쓰지 않고, confirm=true를 전달하면 씁니다. 기존 노트는 절대 교체되지 않으며 Obsidian의 설정 폴더에는 절대 쓰지 않습니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마 — Windows
{
  "properties": {
    "confirm": {
      "description": "Must be true to write. Without it the call returns a preview.",
      "type": "boolean"
    },
    "content": {
      "description": "Markdown text to write.",
      "type": "string"
    },
    "mode": {
      "description": "create: a new note. append: add to the end of an existing note.",
      "enum": [
        "create",
        "append"
      ],
      "type": "string"
    },
    "path": {
      "description": "Path of the note inside the vault, like Projects/Plan.md (.md is added when missing).",
      "type": "string"
    },
    "vault": {
      "description": "Vault name or id from obsidian_list_vaults. Optional when there is only one vault.",
      "type": "string"
    }
  },
  "required": [
    "path",
    "content",
    "mode"
  ],
  "type": "object"
}

문서 예시

obsidian_write_note 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "confirm": false,
  "content": "## Planning meeting\n\n- Can we review the launch checklist on Tuesday?",
  "mode": "create",
  "path": "Meetings/Planning meeting.md",
  "vault": "Demo Vault"
}