profile_columns
Profile file columns: null counts, approximate distinct counts, min/max, and frequent values for low-cardinality columns. Ideal when you need column statistics beyond basic types.
Instructions
Profile a file's columns: null counts, approximate distinct counts, min/max and the most frequent values of low-cardinality columns.
This scans the whole file, so prefer describe_file when you only need types.
Args: path: File path, glob or URL. columns: Restrict to these columns (default: all). top_k: Number of most-frequent values to show; 0 to skip that pass.
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": {
"path": "<path>"
},
"name": "profile_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| top_k | No | ||
| columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |