[**@gram-ai/elements v1.33.0**](../README.md)

***

[@gram-ai/elements](../globals.md) / FrontendTool

# Type Alias: FrontendTool\<TArgs, TResult\>

> **FrontendTool**\<`TArgs`, `TResult`\> = `FC`\<`AssistantToolProps`\<`TArgs`, `TResult`\>\> & `object`

A frontend tool is a tool that is defined by the user and can be used in the chat.

## Type Declaration

### unstable\_tool

> **unstable\_tool**: `AssistantToolProps`\<`TArgs`, `TResult`\>

## Type Parameters

### TArgs

`TArgs` *extends* `Record`\<`string`, `unknown`\>

### TResult

`TResult`
