跳到正文
所有工具

obsidian_read_note

Obsidian · macOS · Windows

效果: 读取. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

读取 Obsidian 保险库中的一篇笔记:其文本、frontmatter、标签、出站 [[wikilinks]](每个都附带其指向的笔记)以及反向链接(链接到它的笔记)。`note` 是保险库内的路径,如 Projects/Plan.md,或 wikilink 所用的笔记名称,如 Plan。只读取 Markdown 笔记:附件和 Obsidian 的设置文件夹不会被读取。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — macOS
{
  "properties": {
    "max_bytes": {
      "description": "Maximum bytes of text to return (default 256 KB, max 2 MB). A longer note comes back with truncated=true.",
      "type": "integer"
    },
    "note": {
      "description": "Path of the note inside the vault, or its name as a [[wikilink]] names it.",
      "type": "string"
    },
    "vault": {
      "description": "Vault name or id from obsidian_list_vaults. Optional when there is only one vault.",
      "type": "string"
    }
  },
  "required": [
    "note"
  ],
  "type": "object"
}

文档示例

obsidian_read_note 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "note": "Projects/Launch plan.md",
  "vault": "Demo Vault"
}

Windows

用途

读取 Obsidian 保险库中的一篇笔记:其文本、frontmatter、标签、出站 [[wikilinks]](每个都附带其指向的笔记)以及反向链接(链接到它的笔记)。`note` 是保险库内的路径,如 Projects/Plan.md,或 wikilink 所用的笔记名称,如 Plan。只读取 Markdown 笔记:附件和 Obsidian 的设置文件夹不会被读取。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — Windows
{
  "properties": {
    "max_bytes": {
      "description": "Maximum bytes of text to return (default 256 KB, max 2 MB). A longer note comes back with truncated=true.",
      "type": "integer"
    },
    "note": {
      "description": "Path of the note inside the vault, or its name as a [[wikilink]] names it.",
      "type": "string"
    },
    "vault": {
      "description": "Vault name or id from obsidian_list_vaults. Optional when there is only one vault.",
      "type": "string"
    }
  },
  "required": [
    "note"
  ],
  "type": "object"
}

文档示例

obsidian_read_note 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "note": "Projects/Launch plan.md",
  "vault": "Demo Vault"
}