api done, add tools