Dataset Viewer
Auto-converted to Parquet Duplicate
messages
list
conversation_id
string
turn
int64
requires_clarification
bool
missing_fields
list
clarification_question
bool
is_ai_question
bool
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to book an appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}", "role": "assistant" } ]
conv_1
1
true
[ "startDate", "symptoms" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to book an appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.tomorrow()\"\n }\n}", "role": "assistant" } ]
conv_1
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.tomorrow()\"\n }\n}.", "role": "system" }, { "content": "Book an appointment for tomorrow at 2 PM for my fever", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.nextWeekday('friday').setTime('15:00')\",\n \"endDate\": \"date.nextWeekday('friday').setTime('15:30')\",\n \"symptoms\": \"fever\"\n }\n}", "role": "assistant" } ]
conv_1
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Show me my appointments", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_2
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Show me my appointments' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the read appointment request", "role": "user" }, { "content": "{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_2
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to change my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}", "role": "assistant" } ]
conv_3
1
true
[ "filter", "updates" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to change my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_3
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}.", "role": "system" }, { "content": "Complete the update appointment request", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n },\n \"updates\": {\n \"symptoms\": \"fever\"\n }\n }\n}", "role": "assistant" } ]
conv_3
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Cancel my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_4
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Cancel my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the delete appointment request", "role": "user" }, { "content": "{\n \"action\": \"delete\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n }\n }\n}", "role": "assistant" } ]
conv_4
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to book an appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}", "role": "assistant" } ]
conv_5
1
true
[ "startDate", "symptoms" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to book an appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.today().setTime('14:00')\"\n }\n}", "role": "assistant" } ]
conv_5
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.today().setTime('14:00')\"\n }\n}.", "role": "system" }, { "content": "Book an appointment for tomorrow at 2 PM for my back pain", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.today().setTime('09:00')\",\n \"endDate\": \"date.today().setTime('09:30')\",\n \"symptoms\": \"back pain\"\n }\n}", "role": "assistant" } ]
conv_5
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Show me my appointments", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_6
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Show me my appointments' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the read appointment request", "role": "user" }, { "content": "{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_6
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to change my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}", "role": "assistant" } ]
conv_7
1
true
[ "filter", "updates" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to change my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_7
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}.", "role": "system" }, { "content": "Complete the update appointment request", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n },\n \"updates\": {\n \"symptoms\": \"fever\"\n }\n }\n}", "role": "assistant" } ]
conv_7
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Cancel my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_8
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Cancel my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the delete appointment request", "role": "user" }, { "content": "{\n \"action\": \"delete\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n }\n }\n}", "role": "assistant" } ]
conv_8
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to book an appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}", "role": "assistant" } ]
conv_9
1
true
[ "startDate", "symptoms" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to book an appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment? Also, could you describe any symptoms you're experiencing?\",\n \"missing_fields\": [\n \"startDate\",\n \"symptoms\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.nextWeekday('friday')\"\n }\n}", "role": "assistant" } ]
conv_9
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.nextWeekday('friday')\"\n }\n}.", "role": "system" }, { "content": "Book an appointment for tomorrow at 2 PM for my back pain", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.tomorrow().setTime('14:00')\",\n \"endDate\": \"date.tomorrow().setTime('14:30')\",\n \"symptoms\": \"back pain\"\n }\n}", "role": "assistant" } ]
conv_9
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Show me my appointments", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_10
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Show me my appointments' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the read appointment request", "role": "user" }, { "content": "{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_10
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to change my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}", "role": "assistant" } ]
conv_11
1
true
[ "filter", "updates" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to change my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_11
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}.", "role": "system" }, { "content": "Complete the update appointment request", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n },\n \"updates\": {\n \"symptoms\": \"fever\"\n }\n }\n}", "role": "assistant" } ]
conv_11
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Cancel my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_12
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Cancel my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the delete appointment request", "role": "user" }, { "content": "{\n \"action\": \"delete\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n }\n }\n}", "role": "assistant" } ]
conv_12
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to book an appointment for my headache", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment?\",\n \"missing_fields\": [\n \"startDate\"\n ]\n }\n}", "role": "assistant" } ]
conv_13
1
true
[ "startDate" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to book an appointment for my headache' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What date and time would you prefer for your appointment?\",\n \"missing_fields\": [\n \"startDate\"\n ]\n }\n}.", "role": "system" }, { "content": "Book an appointment for tomorrow at 2 PM for my headache", "role": "user" }, { "content": "{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"startDate\": \"date.today().setTime('09:00')\",\n \"endDate\": \"date.today().setTime('09:30')\",\n \"symptoms\": \"headache\"\n }\n}", "role": "assistant" } ]
conv_13
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Show me my appointments", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_14
1
true
[ "filter" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Show me my appointments' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"What time period would you like to see appointments for? (e.g., today, this week, next month, or a specific date range)\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}.", "role": "system" }, { "content": "Complete the read appointment request", "role": "user" }, { "content": "{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_14
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "I want to change my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}", "role": "assistant" } ]
conv_15
1
true
[ "filter", "updates" ]
true
true
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'I want to change my appointment' and you responded with {\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to change? Please provide the appointment date/time or ID, and tell me what specific changes you'd like to make (new time, different symptoms, etc.).\",\n \"missing_fields\": [\n \"filter\",\n \"updates\"\n ]\n }\n}.", "role": "system" }, { "content": "Here's the information", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}", "role": "assistant" } ]
conv_15
2
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Previous conversation context: User said 'Here's the information' and you responded with {\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {}\n}.", "role": "system" }, { "content": "Complete the update appointment request", "role": "user" }, { "content": "{\n \"action\": \"update\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filter\": {\n \"startDate\": \"date.tomorrow()\"\n },\n \"updates\": {\n \"symptoms\": \"fever\"\n }\n }\n}", "role": "assistant" } ]
conv_15
3
null
null
false
false
[ { "content": "You are a healthcare AI assistant that uses tools to help users with medical tasks.\n\n# Rules:\n- Use tools to answer requests, ask clarifying questions if ambiguous\n- Use utility functions for dates/times (date.tomorrow(), date.today().setTime())\n- Follow exact JSON format with action, resource, and params\n- In multiturn conversations, build upon previous context\n- Use exact parameter structures from templates - DO NOT hallucinate parameters\n\n# Output Format:\nRespond with JSON: {\"action\": \"create|read|update|delete|execute|send|aggregate|clarify\", \"resource\": \"appointment|message|profile|routine|settings|vitals|records|preferences|conversation\", \"params\": {...}}\n- Only include needed functions\n- Ask clarifying questions if unclear\n- No explanations outside JSON unless instructed\nAvailable tools:\n- create_appointment: Create a new medical appointment with date, time, and optional symptoms\n- read_appointment: Retrieve existing appointments based on date, time, or other criteria\n- update_appointment: Modify existing appointment details like date, time, or symptoms\n- delete_appointment: Cancel or remove appointments based on specified criteria\n- execute_vitals: Perform vital signs measurements like blood pressure, heart rate, temperature\n- read_vitals: Retrieve previously recorded vital signs data\n- delete_vitals: Remove specific vital signs records from the system\n- aggregate_vitals: Calculate statistics like averages, trends, or summaries of vital signs data\n- send_message: Send text messages or files to healthcare providers or contacts\n- read_profile: Access user profile information including personal and medical details\n- update_profile: Modify user profile information like weight, height, contact details\n- create_routine: Set up new health routines like medication schedules or exercise plans\n- read_routine: View existing health routines and their schedules\n- update_routine: Modify existing routines by changing frequency, timing, or other parameters\n- delete_routine: Remove or cancel existing health routines\n- read_settings: Access system settings like display preferences, language, or notifications\n- update_settings: Modify system settings like brightness, text size, or time zone\n- create_record: Add new medical records like prescriptions, test results, or diagnoses\n- read_record: Retrieve existing medical records and documentation\n- update_record: Modify existing medical records with new information or corrections\n- delete_record: Remove specific medical records from the system\n- read_preferences: Access user preferences for notifications, privacy, and other settings\n- update_preferences: Modify user preferences for how the system behaves and responds\n- clarify_conversation: Ask clarifying questions when user requests are incomplete or ambiguous\n\n# Key Tool Templates (use these exact parameter structures):\ncreate_appointment:\n{\n \"action\": \"create\",\n \"resource\": \"appointment\",\n \"params\": {\n \"date\": \"date.tomorrow() or YYYY-MM-DD\",\n \"time\": \"HH:MM or HH:MM AM/PM\",\n \"symptoms\": \"array of symptoms\",\n \"doctor\": \"doctor name (optional)\"\n }\n}\n\nread_appointment:\n{\n \"action\": \"read\",\n \"resource\": \"appointment\",\n \"params\": {\n \"filters\": {\n \"date\": \"date or date range (optional)\",\n \"status\": \"upcoming, completed, cancelled (optional)\"\n }\n }\n}\n\nexecute_vitals:\n{\n \"action\": \"execute\",\n \"resource\": \"vitals\",\n \"params\": {\n \"vital_types\": [\n \"blood_pressure\",\n \"heart_rate\",\n \"temperature\",\n \"weight\"\n ],\n \"timestamp\": \"date.today().setTime() or timestamp\"\n }\n}\n\nsend_message:\n{\n \"action\": \"send\",\n \"resource\": \"message\",\n \"params\": {\n \"recipient\": \"doctor, nurse, healthcare_provider\",\n \"message_type\": \"text, photo, file, test_results\",\n \"content\": \"message content\",\n \"priority\": \"normal, urgent, emergency (optional)\"\n }\n}\n\nclarify_conversation:\n{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"specific clarifying question\",\n \"missing_fields\": \"array of required fields that are missing\"\n }\n}\n\n# Other tools follow similar patterns: read_*, update_*, delete_*, create_*, aggregate_*", "role": "system" }, { "content": "Cancel my appointment", "role": "user" }, { "content": "{\n \"action\": \"clarify\",\n \"resource\": \"conversation\",\n \"params\": {\n \"question\": \"Which appointment would you like to cancel? Please provide the appointment date/time or ID.\",\n \"missing_fields\": [\n \"filter\"\n ]\n }\n}", "role": "assistant" } ]
conv_16
1
true
[ "filter" ]
true
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6