Skip to content
Developer Preview

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.

  • commandId
  • objective
  • sessionId
Source

schema/msp/experimental/msp.schema.json#/types/GoalEditParams

{
"description": "`goal/edit` params: replace the current goal's objective.\nSame shape as `goal/set`; the verbs differ in their `missing_goal`\nprecondition, not their payload.",
"properties": {
"commandId": {
"description": "The idempotency handle (UUIDv7).",
"type": "string"
},
"objective": {
"description": "The replacement objective; same trim/non-empty rule as `goal/set`.",
"type": "string"
},
"sessionId": {
"description": "The target session.",
"type": "string"
}
},
"required": [
"commandId",
"objective",
"sessionId"
],
"type": "object"
}