post https://api.cloud.deepset.ai/api/v2/workspaces//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.