Create tool
Create tool
post/v1/Tools
Request body
assistant_idstring
The Assistant ID.
descriptionstring
The description of the tool.
enabledboolean required
True if the tool is enabled.
metaobject
The metadata related to method, url, input_schema to used with the Tool.
namestring required
The name of the tool.
typestring required
The description of the tool.
Response
Created
account_sidstring
The SID of the Account that created the Tool resource.
descriptionstring required
The description of the tool.
enabledboolean required
True if the tool is enabled.
idstring required
The tool ID.
metaobject required
The metadata related to method, url, input_schema to used with the Tool.
namestring required
The name of the tool.
requires_authboolean required
The authentication requirement for the tool.
typestring required
The type of the tool. ('WEBHOOK')
urlstring
The url of the tool resource.
date_createdstring date-time required
The date and time in GMT when the Tool was created specified in ISO 8601 format.
date_updatedstring date-time required
The date and time in GMT when the Tool was last updated specified in ISO 8601 format.