本文へスキップ
すべてのツール

sharepoint_list_files

SharePoint · Windows

効果: 読み取り. 状態: 条件付き提供.

「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。

Windows

目的

SharePoint サイトのドキュメントライブラリ、またはその中のファイルとフォルダーを一覧表示します。`library` を指定しない場合は {"libraries": [...]} を返し、各ライブラリには `library` id が付きます。`library` を指定した場合は、その中の `folder`(省略時は最上位フォルダ)にある {"items": [...]} を返し、各項目にはパスが付きます。名前がドットで始まる項目は除外されます。200 件を超えるライブラリまたは 1000 件を超える項目がある場合、最後の要素は {"truncated": true, "note": …} になります。

必須入力

入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。

権限と確認

スキーマには明示的な確認パラメータがありません。これは無許可の操作を認めるものではありません。効果を確認し、承認を得てください。

英語の正規技術スキーマ — 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"
    },
    "folder": {
      "description": "A folder inside the library, like Reports/2026; omit for its top folder",
      "type": "string"
    },
    "library": {
      "description": "A library's id, from sharepoint_list_files without `library`",
      "type": "string"
    },
    "site": {
      "description": "A site's id, from sharepoint_list_sites",
      "type": "string"
    }
  },
  "required": [
    "site"
  ],
  "type": "object"
}

ドキュメント例

sharepoint_list_files のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。

{
  "library": "Documents",
  "site": "Marketing"
}