upload-wiki-file
Upload a file to a Dooray wiki and return its attach file ID for use when creating a wiki page.
Instructions
Upload a file to a Dooray wiki (not page-specific).
This is useful for pre-uploading files before creating a wiki page. The returned attachFileId can be used in create-wiki-page's attachFileIds parameter.
Required Parameters:
wikiId: The wiki ID
filePath: Absolute path to the file to upload (e.g., "/Users/name/document.pdf")
Example: { "wikiId": "123456", "filePath": "/Users/nhn/Downloads/report.pdf" }
Workflow:
Upload file with this tool -> get attachFileId
Create wiki page with create-wiki-page using attachFileIds: [attachFileId]
Returns: File ID and attach file ID of the uploaded file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wikiId | Yes | Wiki ID | |
| filePath | Yes | Absolute path to the file to upload |