recipe_publish
技能与流程 · macOS
效果: 发送. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
将您保存的某个配方/skill 提交到社区审核队列,由 Dario 审核;这并不会发布它。不带 confirm=true 时,它会预览将要发送的标题、类别、应用和工作流说明(不会有任何内容离开这台 Mac);带 confirm=true 时,它会提交并返回 {status:"submitted", pending:true}。审核通过后,它会出现在 /community/skills,任何人都可以用 recipe_install 安装。`workflow` 是公开的说明文字:如果配方自身的 `description` 字段至少有 15 个字符,则默认使用它;否则请显式传入。
必填输入
name
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — 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"
}