detect_pattern
Identify a dataset's structure by scanning a file or directory, and receive suggested load_source arguments to load it directly.
Instructions
Scan a directory (or single file) and identify its multi-file structure.
Recognizes: partitioned_parquet, partitioned_csv, mysql_dump, multi_hdf5,
related_tables, image_folder, text_corpus, single_file. Returns suggested
load_source(args) the agent can invoke directly.
Output size: small to medium (file lists capped at 50).
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": "detect_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||