GoalSetParams
goal/set params: set the session’s goal objective.
Fields and variants
Section titled “Fields and variants”commandIdobjectivesessionId
Source
schema/msp/experimental/msp.schema.json#/types/GoalSetParams
{ "description": "`goal/set` params: set the session's goal objective.", "properties": { "commandId": { "description": "The idempotency handle (UUIDv7).", "type": "string" }, "objective": { "description": "The objective text; required, non-empty after Unicode-whitespace trim\n(the trimmed text is the payload). Empty-after-trim is\n`-32602 invalidParams`.", "type": "string" }, "sessionId": { "description": "The target session.", "type": "string" } }, "required": [ "commandId", "objective", "sessionId" ], "type": "object"}