Skip to content
Developer Preview

SubagentInputParams

Params for subagent/sendMessage and subagent/followupTask: a child target plus the input body.

  • body
  • commandId
  • sessionId
  • subagentId
Source

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

{
"description": "Params for `subagent/sendMessage` and `subagent/followupTask`:\na child target plus the input body.",
"properties": {
"body": {
"description": "The note/task text: trimmed with Unicode-whitespace semantics,\nrejected when empty after trimming, delivered trimmed with multibyte\ncontent byte-for-byte intact.",
"type": "string"
},
"commandId": {
"description": "Client-minted UUIDv7 command id.",
"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": [
"body",
"commandId",
"sessionId",
"subagentId"
],
"type": "object"
}