The present disclosure relates to systems, methods, and non-transitory computer-readable media that modify digital files in accordance with user requests. For instance, in some cases, the disclosed systems receive, from a
client device, a user request for modifying a
digital file. The disclosed systems generate, using a language
machine learning model, a task plan having formatted code indicating one or more
application programming interface calls to execute to modify the
digital file. Further, the disclosed systems generate, via one or more code verifications on the formatted code, an error log that identifies one or more errors in the task plan. The disclosed systems generate, from the error log and using the language
machine learning model, a corrected task plan that corrects the one or more errors. Additionally, the disclosed systems provide, for display, a modified
digital file generated through execution of the corrected task plan.