nworks_sharedrive_download
Download files from a LINE WORKS shared drive. Specify an output directory to save locally, or get the file content directly as text or base64. Required for files over 5MB.
Instructions
공유 드라이브 파일을 다운로드합니다. User OAuth 인증 필요 (file.read scope). outputDir을 지정하면 로컬에 파일로 저장하고, 미지정 시 파일 내용을 직접 반환합니다 (텍스트는 text, 바이너리는 base64). 5MB 초과 파일은 반드시 outputDir를 지정해야 합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | 다운로드할 파일 ID (nworks_sharedrive_files로 조회 가능) | |
| outputDir | No | 저장 디렉토리 (지정 시 파일로 저장, 미지정 시 내용을 직접 반환) | |
| outputName | No | 저장 파일명 (미지정 시 원본 파일명) | |
| sharedriveId | Yes | 공유 드라이브 ID (nworks_sharedrive_list로 조회 가능) |