onelake_rm
Delete a file or directory from OneLake. Specify the lakehouse and path, with an optional recursive flag to remove non-empty directories.
Instructions
Delete a file or directory from OneLake.
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": {
"lakehouse": "<lakehouse>",
"path": "<path>"
},
"name": "onelake_rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lakehouse | Yes | ||
| recursive | No | ||
| workspace | No |