Create a new tool
Changed onCreates a new tool in the tool set
Request
- Base URLhttps://api.cadenya.com
- URLhttps://api.cadenya.com/v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/tools
- AuthHTTP bearer
Path parameters
Workspace ID.
Tool set ID. Accepts the canonical ts_… form or the external_id:<value> form.
Request body
Example request
{
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"toolSetId": "toolset_01HXKD2E5NQM3T9AYWCFNRMN74"
}Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"info": {
"toolSet": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}Changes
- breaking
the
/////request property type changed fromobjectto no type - breaking
added to the
/////response propertyoneOflist for the response status - breaking
the
/////response's property type changed fromobjectto no type for status - warning
removed the request property
////// - warning
removed the request property
////// - warning
removed the request property
////// - warning
removed the request property
////// - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - info
added discriminator to
/////request property - info
added to the
/////request propertyoneOflist - info
added discriminator to
/////response property for the response status
- breaking
- info
added the new optional request property
////// - info
added the optional property
//////to the response with the status
- info