move_item
Move or rename files and folders across OneDrive and SharePoint using item ID or path.
Instructions
Move or rename a file/folder in OneDrive or SharePoint
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "move_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Item ID to move/rename | |
| itemPath | No | Alternative: item path to move/rename | |
| newName | No | New name for the item (optional) | |
| parentFolderId | No | ID of destination folder (optional) | |
| parentFolderPath | No | Path of destination folder (optional) | |
| siteId | No | SharePoint site ID (optional) | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL (optional alternative to siteId) | |
| driveId | No | Drive ID for a specific document library (optional) |