Add A New Tool
Add a new tool to the specified team.
Path Parameters
The resourceSlug is a URL parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId.
Body
Represents a tool within the system, including its configuration, state, and associated retrievers.
The name of the tool.
A detailed description of the tool.
The type of tool.
function
, rag
Data related to the tool, including runtime, environment variables, and more.
Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}
Identifier of the organization to which the tool belongs.
Identifier of the team to which the tool belongs.
The schema associated with the tool.
The type of retriever used by the tool.
raw
, self_query
, time_weighted
, multi_query
Configuration settings for the retriever.
Identifier of the datasource associated with the tool.
The current state of the tool.
pending
, ready
, error
Icon associated with the tool.
Indicates whether the tool is hidden.
Identifier of the function associated with the tool.
Identifier of the tool's revision.
Logs related to the function's execution.