Forest Admin - API reference
Preparing search index...
@forestadmin/ai-proxy
RemoteTools
Class RemoteTools
Index
Constructors
constructor
Properties
tools
Accessors
tool
Definitions
For
Frontend
Methods
invoke
Tool
Constructors
constructor
new
RemoteTools
(
tools
?:
RemoteTool
<
unknown
>
[]
)
:
RemoteTools
Parameters
Optional
tools
:
RemoteTool
<
unknown
>
[]
Returns
RemoteTools
Properties
Readonly
tools
tools
:
RemoteTool
<
unknown
>
[]
Accessors
tool
Definitions
For
Frontend
get
toolDefinitionsForFrontend
()
:
{
description
:
string
;
name
:
string
;
responseFormat
:
string
;
schema
:
JsonSchema7Type
;
sourceId
:
string
;
sourceType
:
string
;
}
[]
Returns
{
description
:
string
;
name
:
string
;
responseFormat
:
string
;
schema
:
JsonSchema7Type
;
sourceId
:
string
;
sourceType
:
string
;
}
[]
Methods
invoke
Tool
invokeTool
(
toolName
:
string
,
messages
:
ChatCompletionMessageParam
[]
,
sourceId
?:
string
,
)
:
Promise
<
unknown
>
Parameters
toolName
:
string
messages
:
ChatCompletionMessageParam
[]
Optional
sourceId
:
string
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
tools
Accessors
tool
Definitions
For
Frontend
Methods
invoke
Tool
Forest Admin - API reference
Loading...