analyze_file_structure
Sample records from a Universe file to detect which fields are populated, data types, and multivalue patterns, revealing actual data usage when dictionary is incomplete.
Instructions
Analyze file structure by sampling records to infer field usage patterns.
Samples records from the file to detect:
Which fields are populated
Multivalue patterns
Data types and common values
Useful when dictionary is incomplete or for understanding actual data usage.
Args: file_name: Name of the Universe file to analyze sample_size: Number of records to sample (default 100)
Returns: Analysis results including field usage statistics and patterns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_name": "<file_name>"
},
"name": "analyze_file_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| sample_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||