Interface: AguiToolCall
@kortexya/reasoninglayer / Agui / AguiToolCall
Interface: AguiToolCall
Defined in: src/types/agui.ts:56
A tool call embedded in an assistant message.
Remarks
type is the AG-UI call kind (function). It is left open because the
protocol may add kinds; the SDK does not narrow it.
Example
const toolCall: AguiToolCall = { id: 'call_1', type: 'function', function: { name: 'lookupPatient', arguments: '{"patientId":"42"}' },};Properties
function
function:
AguiFunctionCall
Defined in: src/types/agui.ts:58
The function invocation.
id
id:
string
Defined in: src/types/agui.ts:60
Tool call id.
type?
optionaltype:string
Defined in: src/types/agui.ts:62
Call type (function).