@sumup/agent-toolkit
Preparing search index...
openai
SumUpAgentToolkit
Class SumUpAgentToolkit
Index
Constructors
constructor
Properties
tools
Methods
get
Tools
handle
Tool
Call
Constructors
constructor
new
SumUpAgentToolkit
(
__namedParameters
:
{
apiKey
:
string
}
)
:
SumUpAgentToolkit
Parameters
__namedParameters
:
{
apiKey
:
string
}
Returns
SumUpAgentToolkit
Properties
tools
tools
:
ChatCompletionTool
[]
Methods
get
Tools
getTools
()
:
ChatCompletionTool
[]
Returns
ChatCompletionTool
[]
handle
Tool
Call
handleToolCall
(
toolCall
:
ChatCompletionMessageToolCall
,
)
:
Promise
<
ChatCompletionToolMessageParam
>
Handle a single OpenAI tool call by executing the requested function.
Parameters
toolCall
:
ChatCompletionMessageToolCall
Returns
Promise
<
ChatCompletionToolMessageParam
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
tools
Methods
get
Tools
handle
Tool
Call
@sumup/agent-toolkit
Loading...
Handle a single OpenAI tool call by executing the requested function.