Delete Share
delete_shareDelete an SMB or NFS share by kind and share ID. Preview by default; set dry_run to false to permanently remove it.
Instructions
Delete an SMB or NFS share.
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": {
"kind": "<kind>",
"share_id": "<share_id>"
},
"name": "delete_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "smb" or "nfs". | |
| dry_run | No | Preview only (default True); set False to delete. | |
| share_id | Yes | Share id (from list_shares). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |