SubagentResult
A subagent’s result envelope.
Fields and variants
Section titled “Fields and variants”artifactRefserrorKindevidenceRefsstructuredDatasummarytext
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": "Result summary, bounded on the wire at the 64 KiB retained-text budget; a cut sets the item's\n`truncated`. The durable record stays verbatim.", "type": "string" }, "text": { "description": "Result text, when present, bounded on the wire at the same 64 KiB\nbudget (ADR 35691 D9); a cut sets the item's `truncated`.", "type": "string" } }, "required": [ "artifactRefs", "evidenceRefs", "summary" ], "type": "object"}