curl --request POST \ --url https://api.toolrouter.ai/s/{client_id}/call_tool \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tool_name": "exa_search", "tool_input": { "query": "What is toolrouter AI ?" }}'
Copy
{ "result": { "search_results": [ { "title": "Toolrouter AI Platform", "content": "Toolrouter is an AI integration platform that helps connect various tools and services securely.", "url": "https://toolrouter.ai/about" } ] }}
Stack Specific Endpoints
Call Tool
Executes a specific tool with the provided parameters
POST
/
s
/
{client_id}
/
call_tool
cURL
Copy
curl --request POST \ --url https://api.toolrouter.ai/s/{client_id}/call_tool \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tool_name": "exa_search", "tool_input": { "query": "What is toolrouter AI ?" }}'
Copy
{ "result": { "search_results": [ { "title": "Toolrouter AI Platform", "content": "Toolrouter is an AI integration platform that helps connect various tools and services securely.", "url": "https://toolrouter.ai/about" } ] }}