Skip to content
Developer Preview

SubagentResult

A subagent’s result envelope.

  • artifactRefs
  • errorKind
  • evidenceRefs
  • structuredData
  • summary
  • text
Source

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

{
"description": "A subagent's result envelope.",
"properties": {
"artifactRefs": {
"description": "Artifact references, verbatim.",
"items": {
"type": "string"
},
"type": "array"
},
"errorKind": {
"description": "Error kind, verbatim durable vocabulary, when the child failed.",
"type": "string"
},
"evidenceRefs": {
"description": "Evidence references, verbatim.",
"items": {
"type": "string"
},
"type": "array"
},
"structuredData": {
"description": "Structured result data, verbatim, when present.",
"properties": {},
"type": "object"
},
"summary": {
"description": "Bounded result summary (<=512 chars, runtime-enforced).",
"type": "string"
},
"text": {
"description": "Result text (<=32 KiB), when present.",
"type": "string"
}
},
"required": [
"artifactRefs",
"evidenceRefs",
"summary"
],
"type": "object"
}