sharepoint_list_sites
SharePoint · Windows
效果: 读取. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
Windows
用途
列出已连接的 Microsoft 365 工作或学校账户可以打开的 SharePoint 站点:{"sites": [each site's id, name and web address]}。将站点的 id 传给 sharepoint_list_files。不适用于个人 Microsoft 账户。
必填输入
此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。
权限与确认
架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — Windows
{
"properties": {
"account": {
"description": "Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account.",
"type": "string"
},
"max_results": {
"description": "At most this many sites (default 50)",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Words in the site's name; omit to list every site",
"type": "string"
}
},
"type": "object"
}文档示例
sharepoint_list_sites 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"max_results": 10,
"query": "Marketing"
}