mind_call: A Dataset for Mental Health Function Calling with Large Language Models

Fozle Rabbi Shafi, M. Anwar Hossain, Salimur Choudhury · 2026

Read mind_call: A Dataset for Mental Health Function Calling with Large Language Models by Fozle Rabbi Shafi, M. Anwar Hossain, Salimur Choudhury (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-06937.txt.

Introduction

Fozle Rabbi Shafi and colleagues wrote a 2026 arXiv preprint. The work covers mind_call. ArXiv posted the preprint in 2026 under its PAPERS collection. Anwar Hossain, Salimur Choudhury. Large Language Model (LLM)–based systems increasingly rely on function calling to enable structured and controllable interaction with external data sources.

Yet existing datasets do not address mental health–oriented access to wearable sensor data. The work presents a synthetic function-calling dataset designed for mental health assistance grounded in wearable health signals such as sleep. Physical activity, cardiovascular measures, stress indicators, and metabolic data. The work gives specialists a compact account of the problem and one proposed way to handle it.

Catalog record

CREATORFozle Rabbi Shafi, M. Anwar Hossain, Salimur Choudhury
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE16 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-06937

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

mind_call: A Dataset for Mental Health Function Calling with Large Language Models Fozle Rabbi Shafi, M. Anwar Hossain, Salimur Choudhury Abstract Large Language Model (LLM)–based systems increasingly rely on function calling to enable structured and controllable interaction with external data sources, yet existing datasets do not address mental health–oriented access to wearable sensor data. This paper presents a synthetic function-calling dataset designed for mental health assistance grounded in wearable health signals such as sleep, physical activity, cardiovascular measures, stress indicators, and metabolic data. The dataset maps diverse natural language queries to standardized API calls derived from a widely adopted health data schema. Each sample includes a user query, a query category, an explicit reasoning step, a normalized temporal parameter, and a target function. The dataset covers explicit, implicit, behavioral, symptom-based, and metaphorical expressions, which reflect realistic mental health–related user interactions. This resource supports research on intent grounding, temporal reasoning, and reliable function invocation in LLM-based mental health agents and is publicly released to promote reproducibility and future work. 1 Introduction LLM–based systems now serve as a core component in many intelligent applications across domains such as education, software engineering, and healthcare [ 5 ] . Recent advances in instruction following and tool use allow LLMs to move beyond conversational output and interact with external systems through structured interfaces [ 9 ] . This capability has accelerated the development of agentic systems that connect natural language input with real-world data and services [ 13 , 8 , 9 ] . Healthcare represents a domain where LLM-based systems offer strong potential but require careful design. Mental health support, in particular, benefits from scalable and personalized assistance while imposing requirements on reliability, interpretability, and controllability. LLM-driven mental health assistants typically operate as non-diagnostic support tools that help users reflect on behavioral patterns and wellbeing indicators rather than providing clinical judgments [ 2 , 3 ] . Function calling has emerged as a practical approach for adapting LLMs to domain-specific tasks. Instead of relying on free-form text generation, function calling requires models to map user queries to structured API invocations with explicit arguments [ 7 ] . This approach improves reliability, reduces hallucination risk, and enables direct integration with external data sources [ 4 ] . Despite its adoption in domains such as database querying and software automation, function calling remains underexplored in mental health–oriented applications. Wearable devices provide continuous access to physiological and behavioral signals such as sleep duration, heart rate, stress indicators, physical activity, and weight trends. These signals offer indirect yet meaningful insight into mental wellbeing and are widely available through consumer devices and standardized health APIs. Effective use of this data requires accurate grounding from natural language intent to data retrieval functions. At present, no publicly available dataset focuses on function calling grounded in mental health–related wearable sensor data. This paper addresses that gap by introducing a synthetic dataset designed to support research on LLM-based function calling for mental health assistance. 2 Task Definition We study a function-calling task in which an LLM maps a natural language query to a structured API invocation for retrieving wearable sensor data. Each query expresses a user intent to access physiological or behavioral information over a specific temporal range. Let the input be a natural language query q\in\mathcal{Q}, where \mathcal{Q} denotes the space of user queries related to wearable health data access. Let \mathcal{F}=\{f_{1},f_{2},\ldots,f_{K}\} be a predefined set of API functions, where each function corresponds to a specific wearable data type (e.g., heart rate, sleep, physical activity). Let \mathcal{T} denote the space of normalized temporal parameters, such as fixed time intervals or relative ranges. The task is to learn a mapping \phi:\mathcal{Q}\rightarrow\mathcal{F}\times\mathcal{T}, where the model selects an appropriate function f\in\mathcal{F} and a structured temporal argument t\in\mathcal{T} . In addition, the task may include an intermediate reasoning component r\in\mathcal{R}, which explains the rationale behind function selection and temporal interpretation. This leads to the extended formulation \phi(q)=(r,f,t), where r is not executed by the system but is used to improve interpretability and controllability. The final output is a structured API call \texttt{API\_Call}(f,t), which can be deterministically executed by the downstream system to retrieve the requested wearable sensor data. This formulation constrains the output space to predefined functions and normalized arguments, emphasizing controlled decision-making and interpretability rather than open-ended text generation. 3 Motivation: Wearable Sensor Data for Mental Health Assistance Wearable sensor data provides longitudinal measurements that reflect daily routines and physiological states. Sleep quality, physical activity, heart rate, stress indicators, and metabolic signals often correlate with mental wellbeing and lifestyle changes. Access to such data enables mental health assistants to support self-reflection and behavior awareness without relying on clinical diagnosis. Users rarely request wearable data using formal terminology. Instead, they describe symptoms, habits, or feelings that imply a need for specific measurements. A mental health assistant must therefore infer intent from indirect language and map it to relevant data sources. This requirement motivates the need for datasets that capture realistic user expressions tied to wearable sensor retrieval. 4 Dataset Overview This paper introduces mind_call , a synthetic function-calling dataset designed for wearable sensor data access in mental health–oriented applications. The dataset pairs natural language user queries with structured function calls derived from a standardized health data schema and is publicly available on the Hugging Face platform [ 10 ] . Each sample in mind_call includes a user query, a query category, an explicit intermediate reasoning step, a normalized temporal parameter, and a target function name. This structure enables fine-grained supervision of intent grounding, temporal interpretation, and function selection. The mind_call dataset is designed to support supervised fine-tuning of large language models for function-calling behavior, enabling models to reliably map natural language queries to structured API invocations. In addition, the dataset is well suited for fine-tuning and evaluating LLM-based agent systems that require precise, controllable access to external wearable sensor data as part of multi-step reasoning or decision-making pipelines. Rather than targeting downstream prediction or clinical diagnosis, mind_call focuses on controllable intent interpretation and argument normalization. This design makes the dataset particularly suitable for research on trustworthy, interpretable, and deployable agent architectures that integrate LLMs with real-world data sources. 5 Health Data Schema and Function Definition The dataset adopts a standardized wearable health data schema to ensure realism and interoperability. Each function corresponds to a specific physiological or activity-related data type and follows a consistent naming and argument structure. The function set covers sleep, physical activity, cardiovascular signals, metabolic measures, nutrition, stress, and body composition. The design also supports extensibility. The inclusion of an additional function beyond the current schema illustrates how new sensor modalities can be incorporated without altering the overall task formulation. 6 Exploratory Data Analysis of the mind_call Dataset To better understand the structure, diversity, and linguistic characteristics of the mind_call dataset, we conducted an exploratory data analysis (EDA). This analysis examines how user intents are expressed, the semantic and emotional content of queries, and the temporal references that must be resolved for function execution. The EDA serves two primary purposes. First, it validates that the dataset reflects realistic mental health–oriented interactions rather than synthetic or generic data access requests. Second, it provides insight into the sources of variability and ambiguity that function-calling and

Read the complete text