{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/learning-evolving-tools-for-large-language","title":"Learning Evolving Tools for Large Language Models","arxiv_id":"2410.06617","date":"2024-10-09","proceeding":null,"authors":["Guoxin Chen","Zhong Zhang","Xin Cong","Fangda Guo","Yesai Wu","Yankai Lin","Wenzheng Feng","Yasheng Wang"],"abstract":"Tool learning enables large language models (LLMs) to interact with external tools and APIs, greatly expanding the application scope of LLMs. However, due to the dynamic nature of external environments, these tools and APIs may become outdated over time, preventing LLMs from correctly invoking tools. Existing research primarily focuses on static environments and overlooks this issue, limiting the adaptability of LLMs in real-world applications. In this paper, we propose ToolEVO, a novel framework designed to enhance the adaptive and reflective capabilities of LLMs against tool variability. By leveraging Monte Carlo Tree Search, ToolEVO facilitates active exploration and interaction of LLMs within dynamic environments, allowing for autonomous self-reflection and self-updating of tool usage based on environmental feedback. Additionally, we introduce ToolQA-D, a benchmark specifically designed to evaluate the impact of tool variability. Extensive experiments demonstrate the effectiveness and stability of our approach, highlighting the importance of adaptability to tool variability for effective tool learning. Code: \\url{https://github.com/Chen-GX/ToolEVO}","url_abs":"https://arxiv.org/abs/2410.06617v3","url_pdf":"https://arxiv.org/pdf/2410.06617v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"learning-evolving-tools-for-large-language","repo_url":"https://github.com/chen-gx/toolevo","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.06617","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.06617"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/Chen-GX/ToolEVO","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chen-gx/toolevo","reach":{"status":"ok"}}],"summary":{"ran":10,"ran_fixture":1,"unverified":1},"by_repo_kind":{"official":{"samples":12,"ran":11,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":12,"samples":[{"code_sha256_prefix":"21aa81edfe5a0c85","entry":"EM","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/evaluation.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"21aa81edfe5a0c85"}},{"code_sha256_prefix":"d4a28252332f8c67","entry":"load_data","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/mcts.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/mcts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d4a28252332f8c67"}},{"code_sha256_prefix":"05d950c7eb4c6861","entry":"load_function","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/mcts.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/mcts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"05d950c7eb4c6861"}},{"code_sha256_prefix":"96793b1c7ee55523","entry":"normalize_answer","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/evaluation.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96793b1c7ee55523"}},{"code_sha256_prefix":"0ffd495f5a2c6649","entry":"parse_EdgeCheck","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/toolqa.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/toolqa.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0ffd495f5a2c6649"}},{"code_sha256_prefix":"53f099b3ef83420f","entry":"parse_action","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/toolqa.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/toolqa.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"53f099b3ef83420f"}},{"code_sha256_prefix":"569d7fa5d7c57924","entry":"return_warn_info","repo":"chen-gx/toolevo","repo_kind":"official","path":"MCTS/src/api_vary.py","file_url":"https://github.com/chen-gx/toolevo/blob/HEAD/MCTS/src/api_vary.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"569d7fa5d7c57924"}},{"code_sha256_prefix":"937cd838769f6e2c","entry":"return_warn_info","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/api_vary.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/api_vary.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"937cd838769f6e2c"}},{"code_sha256_prefix":"af543595337fdf0b","entry":"sentence_embedding","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/tool_online.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/tool_online.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af543595337fdf0b"}},{"code_sha256_prefix":"92a5f0d0912c3a91","entry":"str2bool","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/arguments.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/arguments.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"92a5f0d0912c3a91"}},{"code_sha256_prefix":"cbd711da673c1a30","entry":"to_float","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/evaluation.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cbd711da673c1a30"}},{"code_sha256_prefix":"5902dfccec804744","entry":"query_toolqa","repo":"Chen-GX/ToolEVO","repo_kind":"official","path":"MCTS/src/toolqa.py","file_url":"https://github.com/Chen-GX/ToolEVO/blob/HEAD/MCTS/src/toolqa.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5902dfccec804744"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}