Skip to main content

AI Tool Service

The AI tool resource holds your Fusion AI custom tools: functions in your own scripts that Fusion can call. See Tools.

AI Tool REST API​

The AI Tool REST API is accessed through the following URL:

https://api.opendatadsl.com/api/aitool
MethodPathExampleDescription
GETGet the build information for this service
GET{release}v1List your custom tools
GET{release}/{key}v1/2b8f7d1e-5c3a-4e9b-a0d2-7f6e1c9b3a45Retrieve a tool
POST{release}v1Create or update a tool, the tool is the body of the POST request
DELETE{release}/{key}v1/2b8f7d1e-5c3a-4e9b-a0d2-7f6e1c9b3a45Delete a tool

Entities​

Tool​

NameDescriptionType
_idUnique id for the toolString
nameThe function name of the tool: letters, numbers, underscores and hyphensString
scriptThe private script, with category aitool, that implements the functionString
descriptionWhat the tool does. Fusion uses it to decide when to call the toolString
propertiesThe tool's inputs, each with name, type, description and requiredObject[]
assistantLimits the tool to one assistantString
iconThe icon shown for the toolString