Request
POST https://api.pathors.com/v1/projects/{projectId}/tools
Path Parameters
Bearer token using your developer key
Body
Tool type (e.g., restful, mcp, google-calendar-create, smtp, duckduckgo-search, agent)
Type-specific configuration. See GET /v1/projects/{projectId}/tools/types for available types and their schemas.
Response
Returns the created tool with status 201.
Example
curl -X POST https://api.pathors.com/v1/projects/{projectId}/tools \
-H "Authorization: Bearer dk_your_key" \
-H "Content-Type: application/json" \
-d '{
"type": "restful",
"metadata": {
"url": "https://api.example.com/search",
"method": "GET"
}
}'