Upsert Tool
Create a Tool or update it with a new version if it already exists.
Tools are identified by the ID
or their path
. The name, description and parameters determine the versions of the Tool.
You can provide version_name
and version_description
to identify and describe your versions.
Version names must be unique within a Tool - attempting to create a version with a name
that already exists will result in a 409 Conflict error.
Headers
Request
Path of the Tool, including the name. This locates the Tool in the Humanloop filesystem and is used as as a unique identifier. For example: folder/name
or just name
.
Values needed to setup the Tool, defined in JSON Schema format: https://json-schema.org/
Response
Values needed to setup the Tool, defined in JSON Schema format: https://json-schema.org/