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
readonlybytes:number
Defined in: src/artifacts/placement.ts:89
The stored payload's true size — the chars the window did NOT pay.
kind
readonlykind:string
Defined in: src/artifacts/placement.ts:86
tool-result/<toolName> — what a consumer names to want it.
mediaType
readonlymediaType:string
Defined in: src/artifacts/placement.ts:87
placed
readonlyplaced:true
Defined in: src/artifacts/placement.ts:83
Always true. The field a consumer branches on.
reason
readonlyreason:string
Defined in: src/artifacts/placement.ts:91
What happened and what to do next: route the ref, never retype.
ref
readonlyref:string
Defined in: src/artifacts/placement.ts:84
