update_onedrive_file
Rename / move a OneDrive file destructive
Description
Update a OneDrive item: rename (name) and/or move it into a folder (moveToFolderId). Pass fileId (from list_onedrive_files). To remove an item, use delete_onedrive_file.
Parameters
| Parameter | Type | Description |
|---|---|---|
fileIdrequired | string | the OneDrive item id |
name | string | new name |
moveToFolderId | string | folder id to move the item into (from create_onedrive_folder / list_onedrive_files) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_onedrive_file.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_onedrive_file","arguments":{"fileId":"<string>"}}}
CLI
hermoso call update_onedrive_file --json '{"fileId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_onedrive_filesList OneDrive filesdelete_onedrive_fileDelete a OneDrive fileget_onedrive_fileGet a OneDrive file’s detailsshare_onedrive_fileShare a OneDrive file as a linksave_to_onedriveSave file(s) to OneDriveonedrive_file_permissionsWho can open a OneDrive fileconvert_onedrive_fileConvert a OneDrive file to PDF or JPGcreate_onedrive_folderCreate a OneDrive folder