dataset_create
Create a ZFS dataset in a TrueNAS SCALE pool for project or share storage. Use dry_run=True to preview the result before creation.
Instructions
[WRITE] Create a ZFS dataset. Non-destructive (creates new storage). Pass dry_run=True to preview.
No undo descriptor — dataset deletion is intentionally out of scope.
Args: name: Full dataset path including the pool, e.g. 'tank/projects'. pool: Optional pool name for context/labelling. dry_run: If True, preview without creating. target: TrueNAS target name from config.
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": {
"name": "<name>"
},
"name": "dataset_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pool | No | ||
| target | No | ||
| dry_run | No |