Skip to content
1 min read · 125 words

Interface: RelevanceToolCall

Defined in: src/batteries/context/thrift/relevance.ts:169

The minimal structural shape of a tool call this module attaches to the turn it occurred in.

Properties

PropertyTypeDescriptionDefined in
args?unknownThe call's arguments, rendered via argText into the turn's combined relevance text.src/batteries/context/thrift/relevance.ts:177
createdAtstringSortable creation timestamp (e.g. ISO-8601), compared against message timestamps to find which turn a call belongs to.src/batteries/context/thrift/relevance.ts:172
tool?stringThe tool's name, folded into the turn's combined relevance text when present. Omit for a call with no resolved tool name yet.src/batteries/context/thrift/relevance.ts:175