goal/edit
Replaces the current goal’s objective under the same wake gate as goal/set.
Parameters
Section titled “Parameters”Type: GoalEditParams
goal/edit params: replace the current goal’s objective.
Same shape as goal/set; the verbs differ in their missing_goal
precondition, not their payload.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
commandId |
string |
required | The idempotency handle (UUIDv7). | |
objective |
string |
required | The replacement objective; same trim/non-empty rule as goal/set. |
|
sessionId |
string |
required | The target session. |
Source
schema/msp/experimental/msp.schema.json#/methods/goal~2Fedit
{ "description": "Replaces the current goal's objective under the same wake gate as goal/set.", "params": { "$ref": "#/$defs/GoalEditParams" }, "result": { "$ref": "#/$defs/GoalCommandResult" }}