Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/sessions / / CassetteLiveInvocation

Interface: CassetteLiveInvocation

Defined in: packages/sessions/src/cassette/replay.ts:85

Live invocation surface threaded into decideToolReplay(...) by the agent runtime at the moment of tool dispatch.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
argsreadonlyunknown-packages/sessions/src/cassette/replay.ts:87
idempotencyKey?readonlystringResolved live idempotencyKey(input, ctx) output, if the tool declares the optional callback. undefined means the tool does not declare one.packages/sessions/src/cassette/replay.ts:93
toolNamereadonlystring-packages/sessions/src/cassette/replay.ts:86
validateRecordedOutput?public(output) => string | nullValidate the cassette's recorded output against the live tool's outputSchema. Returning a non-empty issues string signals a schema drift; the engine surfaces a CassetteSchemaMismatchError when failOnSchemaMismatch is true.packages/sessions/src/cassette/replay.ts:101