Skip to content
Developer Preview

goal/clear

Clears the session goal; never wakes and its ack never names a turn.

Type: GoalClearParams

goal/clear params. An objective here is an unknown field and rejects -32602 invalidParams — the bare verbs carry exactly this pair.

Field Type Stability Presence Description
commandId string required The idempotency handle (UUIDv7).
sessionId string required The target session.
Source

schema/msp/experimental/msp.schema.json#/methods/goal~2Fclear

{
"description": "Clears the session goal; never wakes and its ack never names a turn.",
"params": {
"$ref": "#/$defs/GoalClearParams"
},
"result": {
"$ref": "#/$defs/GoalCommandResult"
}
}