Skip to content

ema / ema / FunctionCall

Interface: FunctionCall

Defined in: packages/ema/src/schema.ts:4

Tool invocation request emitted by the LLM.

Properties

args

ts
args: Record<string, unknown>;

Defined in: packages/ema/src/schema.ts:11

JSON arguments passed to the tool.


id?

ts
optional id: string;

Defined in: packages/ema/src/schema.ts:7

Optional call id used to link request/response pairs.


name

ts
name: string;

Defined in: packages/ema/src/schema.ts:9

Tool name to invoke.


thoughtSignature?

ts
optional thoughtSignature: string;

Defined in: packages/ema/src/schema.ts:13

Optional thought signature associated with this tool call.


type

ts
type: "function_call";

Defined in: packages/ema/src/schema.ts:5