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