Create Tool
POST/api/v2/workspaces/:workspace_id/tools
Create a new tool.
This unified endpoint handles creation for all tool types (MCP server tools and pipeline tools).
For MCP server tools, provide mcp_server data with URL, transport type, and optional secret ID. For pipeline tools, provide pipeline data with pipeline ID and optional input/output mappings.
Request
Responses
- 201
- 400
- 422
- 424
Successful Response
Raised when MCP server connection failed
Validation Error
Error indicating that the secret used by the tool was not found.
Was this page helpful?