copy_file
Copy a file into a destination folder within a specified channel or conversation. Provide the file ID, folder ID, and target type with its ID to complete the operation.
Instructions
Copies a file to a folder in a channel or conversation.
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": {
"file_id": "<file_id>",
"folder_id": "<folder_id>",
"type": "<type>",
"type_id": "<type_id>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Target type | |
| file_id | Yes | File ID to copy | |
| type_id | Yes | Channel or conversation ID | |
| folder_id | Yes | Target folder ID |