However, converting a user request into API format is often not straightforward. The existing approaches mentioned above have limitations in facilitating multiple invocations of the tool and rectifying query errors. To tackle this problem, ReAct Yao et al. (2023) integrates the strengths of reasoning and action to enhance and complement each other, augmenting problem-solving capability mutually. ART Paranjape et al. (2023) uses a task library to select relevant tool usage and reasoning chains. MM-REACT Yang et al. (2023) further utilizes vision experts to enable multi-modal reasoning and action.