Skip to content
Developer Preview

SubagentOwnerReasonParams

Params for subagent/interrupt, subagent/stop, and subagent/close: a child target plus an optional human-readable reason that is preserved on the durable effect record.

  • commandId
  • reason
  • sessionId
  • subagentId
Source

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

{
"description": "Params for `subagent/interrupt`, `subagent/stop`, and `subagent/close`: a child target plus an optional human-readable reason that is\npreserved on the durable effect record.",
"properties": {
"commandId": {
"description": "Client-minted UUIDv7 command id.",
"type": "string"
},
"reason": {
"description": "Optional reason, preserved on the durable owner-command record.",
"type": "string"
},
"sessionId": {
"description": "Target session (UUIDv7 string; preamble).",
"type": "string"
},
"subagentId": {
"description": "Durable child id (the item's `subagentId`; opaque string).",
"type": "string"
}
},
"required": [
"commandId",
"sessionId",
"subagentId"
],
"type": "object"
}