本文へスキップ
すべてのツール

recipe_publish

スキルとレシピ · macOS

効果: 送信. 状態: 条件付き提供.

「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。

macOS

目的

保存済みの自分のレシピ/スキルの 1 つを、Dario によるレビューのためにコミュニティのモデレーションキューへ送信します。公開されるわけではありません。confirm=true なしでは、送信されるタイトル、カテゴリ、アプリ、ワークフローの説明をプレビューします(この Mac からは何も送信されません)。confirm=true を付けると送信し、{status:"submitted", pending:true} を返します。承認されると /community/skills に表示され、誰でも recipe_install でインストールできます。`workflow` は公開用の説明です。レシピ自身の `description` フィールドが 15 文字以上ならそれが既定で使われ、そうでなければ明示的に指定してください。

必須入力

入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。

権限と確認

スキーマには明示的な確認パラメータがあります。プレビューを確認し、プラットフォーム契約に従って実操作を承認してください。

英語の正規技術スキーマ — macOS
{
  "properties": {
    "apps": {
      "description": "Free-text apps the recipe touches (e.g. \"Mail, Calendar\"), shown in the moderation queue.",
      "type": "string"
    },
    "category": {
      "description": "Free-text category shown in the moderation queue and, once approved, on /community/skills.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually submit. Without it, returns a preview — nothing is sent.",
      "type": "boolean"
    },
    "name": {
      "description": "Name of the saved recipe/skill to publish (see recipe_list).",
      "type": "string"
    },
    "title": {
      "description": "Shown once approved on /community/skills. Defaults to the recipe's own name.",
      "type": "string"
    },
    "workflow": {
      "description": "The public write-up of what the recipe does. Defaults to the recipe's own `description` if it's at least 15 characters; required otherwise.",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}

ドキュメント例

recipe_publish のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。

{
  "confirm": false,
  "name": "Demo morning brief"
}