get https://api.voicecreator.ai/api/v1/tools/
Retrieve a specific tool by ID.
This endpoint retrieves a specific tool by its ID.
The tool must belong to the specified organization unless accessed through the admin API.
Parameters:
tool_id (int): The ID of the tool to retrieve
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 requested tool
Raises:
HTTPException:
- 400: If organization ID is missing
- 404: If the tool is not found or doesn't belong to the organization
- 500: If an unexpected error occurs during retrieval