graph_move_file
Move or rename a OneDrive file or folder by specifying its item ID and either a destination folder, a new name, or both.
Instructions
Move and/or rename a file or folder in OneDrive.
At least one of new_parent_folder_id or new_name must be provided.
Args: item_id: The file or folder ID to move. new_parent_folder_id: Destination folder ID. Empty to keep the current parent. new_name: New name for the item. Empty to keep the current name.
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": {
"item_id": "<item_id>"
},
"name": "graph_move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| new_name | No | ||
| new_parent_folder_id | No |