Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Crouse, Maxwell, Abdelaziz, Ibrahim, Fadnis, Kshitij, Patel, Siva Sankalp, Basu, Kinjal, Gunasekara, Chulaka, Kumaravel, Sadhana, Munawar, Asim, Kapanipathi, Pavan
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909032423358464
author Crouse, Maxwell
Abdelaziz, Ibrahim
Fadnis, Kshitij
Patel, Siva Sankalp
Basu, Kinjal
Gunasekara, Chulaka
Kumaravel, Sadhana
Munawar, Asim
Kapanipathi, Pavan
author_facet Crouse, Maxwell
Abdelaziz, Ibrahim
Fadnis, Kshitij
Patel, Siva Sankalp
Basu, Kinjal
Gunasekara, Chulaka
Kumaravel, Sadhana
Munawar, Asim
Kapanipathi, Pavan
contents Synthetic data has proven itself to be a valuable resource for tuning smaller, cost-effective language models to handle the complexities of multi-turn tool calling conversations. While many frameworks and systems for producing synthetic multi-turn tool calling data have been proposed, prior works have frequently assumed that any tool calling interactions will take place in an execution environment that maintains state. When such an environment is available, this is advantageous as it allows for the validity of an interaction to be determined by whether or not the state of the execution environment matches to some prespecified objective. Unfortunately, this does not hold in many real-world tool use settings, e.g., in enterprise settings where data security is of the utmost importance or in cases where tool specifications are synthesized from multiple sources. In this work, we address this gap by introducing a data generation method, DiGiT-TC, that is designed to produce tool calling conversations that have the characteristics of conversations generated through search in a stateful environment. The key to our technique lies in a novel generation pattern that allows our approach to implicitly represent certain tool calls in the user request. We validate our approach on standard tool calling benchmarks and demonstrate that, even in stateful problem settings, our approach results in strong performance gains.
format Preprint
id arxiv_https___arxiv_org_abs_2601_19914
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments
Crouse, Maxwell
Abdelaziz, Ibrahim
Fadnis, Kshitij
Patel, Siva Sankalp
Basu, Kinjal
Gunasekara, Chulaka
Kumaravel, Sadhana
Munawar, Asim
Kapanipathi, Pavan
Computation and Language
Artificial Intelligence
Software Engineering
Synthetic data has proven itself to be a valuable resource for tuning smaller, cost-effective language models to handle the complexities of multi-turn tool calling conversations. While many frameworks and systems for producing synthetic multi-turn tool calling data have been proposed, prior works have frequently assumed that any tool calling interactions will take place in an execution environment that maintains state. When such an environment is available, this is advantageous as it allows for the validity of an interaction to be determined by whether or not the state of the execution environment matches to some prespecified objective. Unfortunately, this does not hold in many real-world tool use settings, e.g., in enterprise settings where data security is of the utmost importance or in cases where tool specifications are synthesized from multiple sources. In this work, we address this gap by introducing a data generation method, DiGiT-TC, that is designed to produce tool calling conversations that have the characteristics of conversations generated through search in a stateful environment. The key to our technique lies in a novel generation pattern that allows our approach to implicitly represent certain tool calls in the user request. We validate our approach on standard tool calling benchmarks and demonstrate that, even in stateful problem settings, our approach results in strong performance gains.
title Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments
topic Computation and Language
Artificial Intelligence
Software Engineering
url https://arxiv.org/abs/2601.19914