add_plan_folders
Adds multiple folders to a backup plan as enabled tasks, checks each P5 container path, applies an optional filter, and returns task IDs or errors. Requires confirm:true.
Instructions
Adds several folders to a backup plan, one enabled task each (path checked with test -d in the container; optional task filter). Returns per-path task id or error. Requires confirm:true.
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": {
"plan": "<plan>",
"paths": "<paths>"
},
"name": "add_plan_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan id | |
| paths | Yes | Absolute folder paths as seen by the P5 container | |
| filter | No | Optional filter name applied to each task | |
| confirm | No | Must be true to actually run |