InvocationContextDecision
An auditable decision made while preparing model-visible context.
Class Diagram
Section titled “Class Diagram”---
title: InvocationContextDecision
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class InvocationContextDecision {
+string candidateId
+string disposition
+string reason
+int32 rank
+int32 estimatedTokens
+dictionary metadata
}
Yaml Example
Section titled “Yaml Example”candidateId: memory:project-planreason: included by relevance rankingProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| candidateId | string | Stable identifier of the evaluated context candidate |
| disposition | string | Whether the candidate was included in the invocation context |
| reason | string | Human-readable reason for the disposition |
| rank | int32 | Zero-based rank among included candidates, when applicable |
| estimatedTokens | int32 | Estimated token count for the candidate, when available |
| metadata | dictionary | Opaque host-specific decision metadata |