inventory_add

Function

ArgDescriptionType
toolstring (required)
serve_locallybool
urlstring
hashstring
filenameThe name of the file on the endpointstring
versionstring
fileAn optional file to uploadOSPath
accessorThe accessor to use to read the file.string

Required Permissions: SERVER_ADMIN

Description

Add or reconfigure a tool into the inventory.

Note that if you provide a file to override the tool it must be readable by the server (so the file must reside on the server or be accessible over a network share).