Create Share
create_shareCreate an SMB or NFS share on TrueNAS by specifying share type, name, and dataset path, with an optional dry-run preview before making changes.
Instructions
Create 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>",
"name": "<name>",
"path": "<path>"
},
"name": "create_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "smb" or "nfs". | |
| name | Yes | Share name (SMB) or alias (NFS). | |
| path | Yes | Dataset path to share, e.g. "/mnt/tank/stores/petr". | |
| dry_run | No | Preview only (default True); set False to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |