Create File
file_createUpload a local file to a specified OneDrive path. User confirmation is required to ensure secure file management.
Instructions
✏️ Upload a local file to OneDrive (requires user confirmation recommended)
Args:
onedrive_path: Destination path within OneDrive (must start with '/').
local_file_path: Absolute path to the local file to upload. Paths are
validated via ensure_safe_path to prevent traversal and
restrict uploads to trusted directories.
account_id: Microsoft account identifier.
Returns: Metadata for the created OneDrive file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onedrive_path | Yes | ||
| local_file_path | Yes | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||