OpenAI just added a method to call functions, described in their new blog post
This could be used to read files and webpages as natural language rather than using flags