Information about a given tool invocation as part of a session.

Example Usage

import { SessionAction } from "syllable-sdk/models/components";

let value: SessionAction = {
  timestamp: new Date("2023-12-18T20:42:53.316Z"),
};

Fields

FieldTypeRequiredDescription
timestampDateTRUETimestamp of the tool invocation
toolNamestringFALSEName of the tool that was invoked
toolRequeststringFALSERequest sent to the tool API, if applicable
toolResultstringFALSEResponse received from the tool API, if applicable