copy_file
Copy a file to a new name or folder in Microsoft 365. Specify the file to copy, new name, and optional destination folder to duplicate content without altering the original.
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>",
"name": "<name>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| file_id | Yes | ||
| parent_id | No |