所有工具

ppt_create

文档 · macOS · Windows

效果: 写入. 状态: 受限可用.

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

macOS

用途

根据幻灯片数组在 `path` 创建 PowerPoint 演示文稿(.pptx),每张幻灯片的格式为 {title, bullets:[…]}。需要 confirm=true——若调用时未传入该参数,则返回演示文稿预览,而不会写入文件。该路径必须位于 Local MCP 可写入的位置;Desktop/Documents/Downloads 可能需要一次性的“文件和文件夹”授权(System Settings → Privacy & Security → Files and Folders)。返回 {created, path, slides}。

必填输入

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

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to create",
      "type": "boolean"
    },
    "path": {
      "description": "Output path for the .pptx file",
      "type": "string"
    },
    "slides": {
      "description": "Array of {title, bullets:[]} slide objects",
      "type": "array"
    }
  },
  "required": [
    "path",
    "slides"
  ],
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "path": "/Users/demo/Documents/launch-checklist.pptx",
  "slides": [
    {
      "bullets": [
        "Review documentation",
        "Confirm release owner"
      ],
      "title": "Launch checklist"
    }
  ]
}

Windows

用途

创建包含标题和项目符号幻灯片的 PowerPoint(.pptx)文件。

必填输入

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

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构Windows
{
  "properties": {
    "confirm": {
      "description": "Must be true",
      "type": "boolean"
    },
    "path": {
      "description": "Path for the new .pptx file",
      "type": "string"
    },
    "slides": {
      "description": "Array of slides. Each: {title: string, bullets: [string]}",
      "type": "array"
    }
  },
  "required": [
    "path",
    "slides"
  ],
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "path": "C:\\Users\\demo\\Documents\\launch-checklist.pptx",
  "slides": [
    {
      "bullets": [
        "Review documentation",
        "Confirm release owner"
      ],
      "title": "Launch checklist"
    }
  ]
}