add_plan_folder
Add a single folder to a backup plan as a new task that defines what to back up; requires confirm:true, otherwise only the calls that would run are returned.
Instructions
Adds one folder to a backup plan as a new task (addtask, client localhost, dirlist , enable - verified); a task defines what to back up. Requires confirm:true; without it only the calls that WOULD run are returned.
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>",
"path": "<path>"
},
"name": "add_plan_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Single absolute folder path as seen by the P5 container | |
| plan | Yes | Plan id | |
| confirm | No | Must be true to actually run |