save_plan
Save an execution plan from ChatGPT or a plan file for later local agent execution, with traceable audit records.
Instructions
Save an execution plan — ChatGPT writes the plan, PatchWarden stores it for local agent execution. Supports plan_ref to load a plan file already placed inside .patchwarden/plans.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Plan title. Defaults to 'Inline plan' or 'Plan from file' when omitted. | |
| content | No | Plan content in Markdown. Required unless plan_ref is provided. | |
| plan_ref | No | Relative path to a plan file already inside .patchwarden/plans. When provided, the file content is loaded and title defaults to 'Plan from file' if title is empty. |