delete_document
Remove documents from SharePoint by specifying file name and folder location to manage storage and maintain organized document libraries.
Instructions
Delete a document from SharePoint
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": {
"file_name": "<file_name>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | No | Folder containing the document | |
| file_name | Yes | Name of the file to delete |