CapabilityAction
type CapabilityAction = | { toolResponseOverride?: ExtractionToolResponseEnvelope; type: "continue";} | { transition?: FlowReconfigureTransition; type: "reconfigure";} | { reason?: string; targetAgent: string; type: "handoff";} | { reason?: string; type: "end";} | { data: Record<string, unknown>; type: "extraction-complete";};Returned by Capability.processToolResult() to tell the host what to do.