<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IToolCall

# Interface: IToolCall

Tool call (OpenAI tool calling format).

## Table of contents

### Properties

- [id](IToolCall#id)
- [type](IToolCall#type)
- [function](IToolCall#function)

## Properties

### id

• **id**: `string`

#### Defined in

[packages/agents/src/interfaces/messages.ts:25](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L25)

---

### type

• **type**: `"function"`

#### Defined in

[packages/agents/src/interfaces/messages.ts:26](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L26)

---

### function

• **function**: `Object`

#### Type declaration

| Name        | Type     |
| :---------- | :------- |
| `name`      | `string` |
| `arguments` | `string` |

#### Defined in

[packages/agents/src/interfaces/messages.ts:27](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L27)
