get_xml_structure
Analyze Apple Health XML export files to extract metadata, including file size, root elements, record types, workout types, and data sources, without loading the entire file content.
Instructions
Analyze the structure and metadata of an Apple Health XML export file without loading the entire content.
Returns:
- file_size_mb: Size of the file in megabytes
- root_elements: List of unique root-level XML tags
- record_types: List of unique health record types (see RecordType for most frequent types, but may include others)
- workout_types: List of unique workout types
- sources: List of unique data sources (device/app names)
Notes for LLMs:
- Use this to quickly understand the contents and structure of a health XML file
- RecordType contains only the most frequent types; other types may appear as strings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |