refactor(api): migrate workspace tool endpoints to BaseModel (#37959)