curl --location -g --request POST 'https:///api/v2/organizations//tools/api-tools' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"headers": {
"property1": null,
"property2": null
},
"base_template_id": 0,
"system_prompt": "string"
}'
{
"success": true,
"message": "string",
"data": {
"id": 0,
"name": "string",
"description": "string",
"org": 0,
"tool_type": "rag",
"created_by": "string",
"is_enabled": true,
"is_default": true,
"connection": true,
"headers": {
"property1": null,
"property2": null
},
"system_prompt": "string",
"base_template": 0
}
}