search_notes
メモ · macOS
効果: 読み取り. 状態: 条件付き提供.
「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。
macOS
目的
Apple Notes をタイトルまたは本文で検索します。 ページ分割: `limit` は 1 回最大 100 なので、大きな値ではなく `offset` でページ送りします。応答には全一致数 `total` と `has_more` があり、上限付きページを全結果と誤認しません。`has_more` が false になるまで取得してください。`total_is_estimated` が下限のみを示す場合も判定は正確です。全件走査には order="id" を指定します。
必須入力
query
入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。
権限と確認
スキーマには明示的な確認パラメータがありません。これは無許可の操作を認めるものではありません。効果を確認し、承認を得てください。
- このプラットフォームでは、ユーザーが許可したアプリ、アカウント、リソースだけを使用してください。接続と権限の要件については、このツールのプラットフォーム固有の説明を参照してください。このカタログは、追加の OAuth スコープや OS 権限があるとは主張しません。
英語の正規技術スキーマ — 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"
}