Validate Tool
POST/api/v2/workspaces/:workspace_id/tool/validate
Validate a new tool configuration without saving it.
This unified endpoint handles validation 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.
If a new secret is provided for MCP server authentication, this endpoint creates and saves the secret.
Request
Responses
- 200
- 422
Successful Response
Validation Error
Was this page helpful?