Skip to content
Prompty

InvocationContextState

Provider-context state carried into or out of an invocation.

---
title: InvocationContextState
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class InvocationContextState {
        +string portability
        +DelegatedStateReference[] delegatedState
    }
    class DelegatedStateReference {
        +string provider
        +string kind
        +string id
        +dictionary metadata
    }
    InvocationContextState *-- DelegatedStateReference
Name Type Description
portability string Whether the model-visible context is portable across providers
delegatedState DelegatedStateReference[] Explicit references to provider-held context state

The following types are composed within InvocationContextState: