POST tools
This section describes how to use the POST tools.
Use the /api/v1/tools (POST) endpoint to import the tool into the tenant as
shown in the sample payload.
[
{
"name": "SampleTool",
"description": "description for your tool that is less than 1500 words",
"instructions": "instructions for why this Tool should be selected and any dependencies",
"type": "OPENAPI_SCHEMA or API_DOCS",
"status": 1,
"utterances": ["Look up the customer ID","Find the customer ID"],
"data": {
"servicePath": "product/customer",
"api_docs": "ENDPOINT: /api/v1/customer/{customerID}
}
]