Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/sessions / / readToolCassette

Function: readToolCassette()

ts
function readToolCassette(body): ToolCassetteReadResult;

Defined in: packages/sessions/src/cassette/reader.ts:55

Parse a cassette body. Validates the sentinel header / footer, the schema MAJOR band, the body checksum (when present), and the tool-call cursor monotonicity.

Parameters

ParameterType
bodystring

Returns

ToolCassetteReadResult

Stable