Skip to content

ema / ema / FunctionResponse

Interface: FunctionResponse

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

Tool execution result returned to the LLM.

Properties

id?

ts
optional id: string;

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

Optional id matching the originating tool call.


name

ts
name: string;

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

Name of the tool that produced the result.


result

ts
result: ToolResult;

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

Execution outcome payload.


type

ts
type: "function_response";

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