search_notes
备忘录 · macOS
效果: 读取. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
按标题或内容搜索 Apple 备忘录。 采用分页:每次调用的 `limit` 上限为 100,因此请使用 `offset` 翻页,而不要请求更大的 limit。响应包含 `total`(总共有多少条备忘录符合查询)和 `has_more`,因此不会将达到上限的一页误认为完整答案——请持续翻页,直至 `has_more` 为 false;即使 `total_is_estimated` 表示该计数只是下限,这一判断也仍然准确。要遍历每个匹配项,请传入 order="id"——参见 order 参数。
必填输入
query
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — macOS
{
"properties": {
"limit": {
"default": "20",
"description": "Matches per page (default 20, capped at 100). To get more, page with offset.",
"type": "integer"
},
"offset": {
"default": "0",
"description": "How many matches to skip (default 0). An offset past the end returns an empty page with has_more=false, not an error.",
"minimum": 0,
"type": "integer"
},
"order": {
"default": "modified",
"description": "order: \"modified\" (default) sorts newest-modified first — what you want to SHOW someone, but NOT safe for paging: modification date changes, so a note edited between two calls jumps to the front and another note is pushed past your cursor and never returned. \"id\" sorts by the note's immutable store id — stable, never renumbered, new notes append at the end — so use order=\"id\" to walk an entire library page by page: edits and insertions mid-crawl are safe with it. One case it cannot cover, because pages are addressed by offset: if a note is DELETED mid-crawl, every note after the hole shifts one slot back and the note that was on the page boundary is skipped, silently. If completeness matters, re-run the crawl and reconcile against total, or crawl while nothing is deleting notes.",
"type": "string"
},
"query": {
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}文档示例
search_notes 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"query": "launch checklist"
}