Appearance
Check an MCP tool name is available ​
http
GET https://api.onehazel.com/onehazel-api/workflows/check-mcp-tool-nameSection: Workflows
Operation id: getWorkflowsCheckMcpToolName
Authentication ​
Operator API key (oh_live_...) or a signed-in session token, as a bearer token.
Parameters ​
| Name | In | Required | Description |
|---|---|---|---|
name | query | yes | Proposed tool name. |
exclude | query | no | Workflow id to ignore, so a workflow can keep its own name. |
Responses ​
200 { "success": true, "data": ... }
Errors return { "success": false, "error": { "code": "...", "message": "..." } } with a 4xx or 5xx status.
Example ​
bash
curl -X GET "https://api.onehazel.com/onehazel-api/workflows/check-mcp-tool-name" \
-H "Authorization: Bearer oh_live_YOUR_API_KEY"Machine-readable: openapi.yaml, openapi.json.