create_smb_share
Create a new SMB share on a TrueNAS Core system by specifying the path, share name, optional comment, and read-only settings to enable file sharing across networks.
Instructions
Create a new SMB share
Args:
path: Path to share
name: Share name
comment: Optional comment
read_only: Whether share is read-only
Input Schema
Name | Required | Description | Default |
---|---|---|---|
comment | No | ||
name | Yes | ||
path | Yes | ||
read_only | No |
Input Schema (JSON Schema)
{
"properties": {
"comment": {
"default": "",
"title": "Comment",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"read_only": {
"default": false,
"title": "Read Only",
"type": "boolean"
}
},
"required": [
"path",
"name"
],
"title": "create_smb_shareArguments",
"type": "object"
}