upload-wiki-page-file
Attach a file to an existing Dooray wiki page using wiki and page IDs plus the file's absolute path. Returns file and attach IDs for the uploaded file.
Instructions
Upload a file to an existing Dooray wiki page.
Required Parameters:
wikiId: The wiki ID
pageId: The wiki page ID to attach the file to
filePath: Absolute path to the file to upload (e.g., "/Users/name/document.pdf")
Example: { "wikiId": "123456", "pageId": "789012", "filePath": "/Users/nhn/Downloads/report.pdf" }
Returns: File ID and attach file ID of the uploaded file.
Note: The file must exist at the specified path. The type is set to "general" automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wikiId": "<wikiId>",
"pageId": "<pageId>",
"filePath": "<filePath>"
},
"name": "upload-wiki-page-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Wiki page ID to attach the file to | |
| wikiId | Yes | Wiki ID | |
| filePath | Yes | Absolute path to the file to upload |