tigergraph__preview_sample_data
Preview sample rows from a data source file to verify its structure and content before loading.
Instructions
Preview sample data from a file in a data source.
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": {
"data_source_name": "<data_source_name>",
"file_path": "<file_path>"
},
"name": "tigergraph__preview_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| num_rows | No | Number of sample rows to preview. | |
| file_path | Yes | For an object store source, the path to the file within the data source (e.g. 's3a://bucket/data.csv'). For a warehouse source such as Snowflake, the SQL query to sample instead (e.g. 'SELECT * FROM <db>.<schema>.<table>'). | |
| graph_name | No | Name of the graph context. If not provided, uses default connection. | |
| data_source_name | Yes | Name of the data source. |