API tool building