hermosodocs

delete_onedrive_file

Delete a OneDrive file destructive

Area: Microsoft OneDrive: full CRUD over the user's OneDrive · Files & documents. Generated from the running MCP server, like the rest of the tool reference.

Description

Delete a OneDrive item — it moves to the OneDrive recycle bin (recoverable there). Pass fileId (from list_onedrive_files) + confirm:true. Confirm the exact file with the user first.

Parameters

ParameterTypeDescription
fileIdrequiredstringthe OneDrive item id
confirmbooleanREQUIRED true

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/delete_onedrive_file.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_onedrive_file","arguments":{"fileId":"<string>"}}}

CLI

hermoso call delete_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.

All 37 Files & documents tools · tools.json