Copy File
drive_copyCopy a OneDrive file or folder to a destination folder, optionally renaming it, and get an operation ID to track the background copy.
Instructions
Copy a OneDrive file or folder to another folder. Copying runs in the background: this returns an operation_id to check with m365_get(resource='operation').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | File or folder to copy. | |
| new_name | No | Name for the copy (default: same name). | |
| account_id | No | Account ID or email address. Omit when only one account is signed in. | |
| destination_id | No | Destination folder ID ('root' allowed). | |
| destination_path | No | Destination folder path instead of destination_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| summary | Yes | One-line human summary. The tool's text content is this result serialized as JSON (summary included), so a client that ignores structuredContent still sees every field. | |
| operation_id | Yes |