본문으로 건너뛰기
모든 도구

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"
}