Expose/unexpose a workflow as a curated MCP tool
POST/v1/workflows/:workflow_id/mcp-tool
Expose a workflow as a curated MCP tool, or withdraw it.
Send enabled (defaults to true) with optional tool_name and
tool_description to control how AI agents see the tool. Marking a workflow
this way is itself the human approval step, so curated runs are not
confirm-gated on every call — they remain gated by the workflows:run scope.
Requires the workflows:author scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error