Initial work on client for tools API client and helper method for uploading local files to histories.