hisThought/Action/ActionInput/ObservationcanrepeatNtimes)DemonstrationExample:Thought:WeneedtocreateaPPTpresentationwithagreentheme.Action:create_fileActionInput:{"theme":"green"}Observation:createdpptﬁleThought:Weneedtoaddtheﬁrstpagewithatitleandsubtitle.Action:add_first_pageActionInput:{"title":"KeyStepsandComponentsofaSuccessfulPoliticalCampaign","subtitle":"AGuideforLocalOfficeCandidates"}Observation:addedﬁrstpageThought:Weneedtoaddatextpageoutliningthetargetdemographicsforthecampaign.Action:add_text_pageActionInput:{"title":"TargetDemographics","bullet_items":["Agerange","Gender","Ethnicity","Incomelevel","Educationlevel"]}Observation:addedtextpageThought:Weneedtoaddatextpageoutliningmessagingstrategiesforthecampaign....Thought:Weneedtoaddatextandimagepagewitharelevantcasestudy.ButIneedtodownloadanimageforcasestudypage.Action:get_imageActionInput:{"keywords":"AlexandriaOcasio-Cortez,campaign,grassroots"}Observation:1680676119.1573935.jpgThought:Great,nowthatwehavetheimage,wecanadd
Tool Learning with Foundation Models