Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / ToolResultContent

Interface: ToolResultContent ​

Defined in: types.ts:60

The model used a tool, and this is what it brought back. Like a cat presenting you with a mouse, but hopefully more useful.

Properties ​

type ​

type: "tool_result"

Defined in: types.ts:62

A tool result. The circle of life continues.


toolCallId ​

toolCallId: string

Defined in: types.ts:64

The ID of the tool call this is a response to. So we know which cat to praise.


result ​

result: string

Defined in: types.ts:66

The glorious result of the tool's hard work.

Released under the MIT License.