update_plan
Update plan properties atomically including title, description, status, visibility, and metadata. Archive plans as soft-delete with recovery option.
Instructions
Edit any plan property atomically: title, description, status, visibility, GitHub linkage, metadata. Use status='archived' to soft-delete (recoverable via status='active' + restore=true). Hard delete stays REST-only with admin auth.
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_id": "<plan_id>"
},
"name": "update_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| title | No | ||
| description | No | ||
| status | No | ||
| visibility | No | ||
| metadata | No | Shallow-merged into existing metadata. | |
| restore | No | Required when un-archiving (status: 'archived' → 'active'). Guards against accidental restoration. |