Interfaces

PlacedToolResult

Interface: PlacedToolResult

Defined in: src/artifacts/placement.ts:81

The substitute the model reads in place of the payload — ONE shape, always the object (the TruncatedToolResult law: a consumer branches on .placed without parsing prose, and the model reads it as JSON on the role: 'tool' message).

Properties

bytes

readonly bytes: number

Defined in: src/artifacts/placement.ts:89

The stored payload's true size — the chars the window did NOT pay.


kind

readonly kind: string

Defined in: src/artifacts/placement.ts:86

tool-result/<toolName> — what a consumer names to want it.


mediaType

readonly mediaType: string

Defined in: src/artifacts/placement.ts:87


placed

readonly placed: true

Defined in: src/artifacts/placement.ts:83

Always true. The field a consumer branches on.


reason

readonly reason: string

Defined in: src/artifacts/placement.ts:91

What happened and what to do next: route the ref, never retype.


ref

readonly ref: string

Defined in: src/artifacts/placement.ts:84

On this page