Script to generate a mapping from function name to database. Reads tools.json for the list of tools and user_queries.json for the database association. script_dir = ...