所有工具

gdrive_search_files

Google Drive · macOS · Windows

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

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

macOS

用途

在同步的 Google Drive 文件夹中按名称递归搜索文件。最多返回 max_results 个匹配项(默认 50)。

必填输入

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

权限与确认

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

英文规范技术架构macOS
{
  "properties": {
    "max_results": {
      "description": "Maximum results (default 50)",
      "type": "integer"
    },
    "query": {
      "description": "Filename pattern to search for",
      "type": "string"
    },
    "root": {
      "description": "Restrict to this Drive path (optional - defaults to all mounts)",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}

文档示例

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

{
  "query": "launch checklist"
}

Windows

用途

在 Google Drive 中按名称或扩展名搜索文件。

必填输入

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

权限与确认

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

英文规范技术架构Windows
{
  "properties": {
    "ext": {
      "description": "File extension filter (e.g. '.docx', '.pdf')",
      "type": "string"
    },
    "limit": {
      "description": "Max results (default: 20)",
      "type": "integer"
    },
    "query": {
      "description": "Search term (matches file name)",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}

文档示例

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

{
  "query": "launch checklist"
}