propose_context_patch
Validate and store a proposed PM context patch against the current context version without applying it; returns a patch_id and unified diff for review.
Instructions
Validate a PM ContextPatch against the current Context and store it as a proposal; nothing is applied yet. Returns patch_id and a unified diff to read. Rejected on a stale base_context_version, unknown or immutable sections, secrets, or a missing semantic_review_ack. Gather the inputs with collect_context_updates, then call commit_context_patch with the patch_id to apply it.
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": {
"project_id": "<project_id>",
"patch": "<patch>"
},
"name": "propose_context_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | The proposed change, written against base_context_version. | |
| project_id | Yes | Registered project id, as returned by list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||