create_repository
Create a backup repository by specifying a unique ID, source directory path, and destination storage name.
Instructions
Create a backup repository: one source directory backed up to one storage.
Args: id: Repository ID, unique per computer (e.g. Plex-media). path: Source directory inside the duplicacy-web container (e.g. /source/plex). storage: Destination storage name.
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": {
"id": "<id>",
"path": "<path>",
"storage": "<storage>"
},
"name": "create_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | ||
| storage | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |