Skip to main content
POST
/
api
/
agents
/
tools
/
validate-batch
cURL
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
    }
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Body

application/json
tools
object[]

Response

OK

message
string
status
string
data
object