PromptRenderSection
One rendered section of a dry run (1.55.0).
An object with 7 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
key | string or null | yes | The key of a context entry; null otherwise. |
kind | PromptSectionKind | yes | |
template_id | PromptTemplateId or null | yes | The template of an Organization or Agent layer; null otherwise. |
text | string | yes | The rendered text of the section. |
tokens | integer | yes | An estimate at 4 characters a token (a target until measured per family). |
variant | PromptVariantKey or null | yes | The variant rendered; null for the directive and a context entry. |
version | integer or null | yes | The template version, or the platform base version; null for the draft, an inline Agent layer, the directive and a context entry. |