PlacedToolResult
Interface: PlacedToolResult
Defined in: src/artifacts/placement.ts:105
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
readonlybytes:number
Defined in: src/artifacts/placement.ts:114
The stored payload's true size — the chars the window did NOT pay.
kind
readonlykind:string
Defined in: src/artifacts/placement.ts:111
The minted kind — what a consumer names to want it. The tool's declared
Tool.resultKind when it has one, tool-result/<toolName> otherwise.
mediaType
readonlymediaType:string
Defined in: src/artifacts/placement.ts:112
placed
readonlyplaced:true
Defined in: src/artifacts/placement.ts:107
Always true. The field a consumer branches on.
reason
readonlyreason:string
Defined in: src/artifacts/placement.ts:116
What happened and what to do next: route the ref, never retype.
ref
readonlyref:string
Defined in: src/artifacts/placement.ts:108
