Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The tool data to create
Name of the tool
"GET_TEMPERATURE"
Description of the tool
"This is a sample tool for getting temperature."
Type of the tool, it can be FUNCTION_TOOL, API_TOOL, KNOWLEDGE_BASE
FUNCTION_TOOL, API_TOOL "API_TOOL"
Parameters of the function in JSON format, This can be changed as per any Json structure
Tool definition associated with the tool
Functions associated with the tool
Response
Tool created successfully.
unique id
"unique id"
Name of the tool
"tool name"
Description of the tool
"This is a sample tool for getting temperature."
Type of the tool, it can be FUNCTION_TOOL, API_TOOL
FUNCTION_TOOL, API_TOOL "API_TOOL"
User creating the tool
"user-id"
Parameters of the function in JSON format, This can be changed as per any Json structure
Tool created time
Tool updated time
ApiTool tool
FunctionTool
