所有工具

word_read

文档 · macOS · Windows

效果: 读取. 状态: 受限可用.

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

macOS

用途

读取 Word 文档(.docx 文件)中的文本内容。

必填输入

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

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构macOS
{
  "properties": {
    "force_download": {
      "description": "If the file is stored in the cloud and evicted from this Mac (dataless), request the download and wait for it instead of failing. Off by default: a download can take minutes and use metered data, so it is the caller's decision.",
      "type": "boolean"
    },
    "path": {
      "description": "Absolute path to the .docx file",
      "type": "string"
    }
  },
  "required": [
    "path"
  ],
  "type": "object"
}

文档示例

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

{
  "path": "/Users/demo/Documents/meeting-notes.docx"
}

Windows

用途

读取 Word(.docx)文件中的文本内容。

必填输入

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

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构Windows
{
  "properties": {
    "path": {
      "description": "Absolute path to the .docx file",
      "type": "string"
    }
  },
  "required": [
    "path"
  ],
  "type": "object"
}

文档示例

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

{
  "path": "C:\\Users\\demo\\Documents\\meeting-notes.docx"
}