mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/input
ToolDefinition
Interface ToolDefinition
OpenAI-style tool definition (function type).
interface
ToolDefinition
{
function
:
{
description
?:
string
;
name
:
string
;
parameters
?:
Record
<
string
,
unknown
>
;
}
;
type
:
"function"
;
}
Index
Properties
function
type
Properties
function
function
:
{
description
?:
string
;
name
:
string
;
parameters
?:
Record
<
string
,
unknown
>
;
}
type
type
:
"function"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
function
type
Documentation
mlx-bun library API
Loading...
OpenAI-style tool definition (function type).