curl --request POST \
--url http://localhost:8080/api/agents/tools/validate-batch \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"tools": [
{
"name": "End Call",
"type": "end_call"
},
{
"name": "Weather API",
"type": "custom",
"url": "https://api.weather.com",
"description": "Get weather data",
"speak_during_execution": false,
"speak_after_execution": true,
"parameters": {
"location": "string"
}
}
]
}
'{
"message": "All tools are valid",
"status": "success",
"data": {
"valid": true,
"total_tools": 2,
"all_valid": true,
"tool_type_counts": {
"end_call": 1,
"custom": 1
}
}
}Validates multiple tools in a single request (current behavior).
curl --request POST \
--url http://localhost:8080/api/agents/tools/validate-batch \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"tools": [
{
"name": "End Call",
"type": "end_call"
},
{
"name": "Weather API",
"type": "custom",
"url": "https://api.weather.com",
"description": "Get weather data",
"speak_during_execution": false,
"speak_after_execution": true,
"parameters": {
"location": "string"
}
}
]
}
'{
"message": "All tools are valid",
"status": "success",
"data": {
"valid": true,
"total_tools": 2,
"all_valid": true,
"tool_type_counts": {
"end_call": 1,
"custom": 1
}
}
}API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication
Show child attributes