put https://api.voicecreator.ai/api/v1/tools/
Update an existing tool.
This endpoint updates an existing tool with the provided data. The tool must belong to the specified organization unless accessed through the admin API.
Parameters: tool_id (int): The ID of the tool to update tool (ToolUpdate): The updated tool data request (Request): The FastAPI request object db (AsyncSession): The database session (injected) organization_id (Optional[int]): The organization ID from the API key or request
Returns: Tool: The updated tool
Raises: HTTPException: - 400: If organization ID is missing - 404: If the tool is not found or doesn't belong to the organization - 422: If there's a validation error in the request body - 500: If an unexpected error occurs during update