onelake_delete_shortcut
Delete a OneLake shortcut from a lakehouse by specifying the lakehouse, shortcut path, and shortcut name. Keeps your data lakehouse organized by removing unused shortcuts.
Instructions
Delete a OneLake shortcut from a lakehouse.
Args:
lakehouse: Lakehouse name or ID containing the shortcut
shortcut_path: Path where shortcut exists (e.g., "Tables", "Files/exports")
shortcut_name: Name of the shortcut to delete
workspace: Workspace name or ID (optional, uses context if not provided)
ctx: Context object
Returns:
Dictionary with success status
Example:
onelake_delete_shortcut(
workspace="DEV-Analytics",
lakehouse="silver_dev",
shortcut_path="Tables",
shortcut_name="bronze_customers"
)
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>",
"shortcut_path": "<shortcut_path>",
"shortcut_name": "<shortcut_name>"
},
"name": "onelake_delete_shortcut"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lakehouse | Yes | ||
| workspace | No | ||
| shortcut_name | Yes | ||
| shortcut_path | Yes |