Skip to content

Interface: AguiTool

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AguiTool

Defined in: src/types/agui.ts:127

A frontend tool definition offered by the AG-UI client to the agent.

parameters is a JSON Schema document, carried through as opaque JSON.

const tool: AguiTool = {
name: 'highlightRow',
description: 'Highlight a row in the table',
parameters: { type: 'object', properties: { rowId: { type: 'string' } } },
};

optional description?: string

Defined in: src/types/agui.ts:129

What the tool does.


name: string

Defined in: src/types/agui.ts:131

Tool name.


optional parameters?: JsonValue

Defined in: src/types/agui.ts:133

JSON Schema of the tool parameters.