Analyze Relationship
analyze_relationshipCompute the correlation between two numerical columns in a dataset to assess their relationship. Returns the dataset ID, column names, and correlation value when calculable.
Instructions
Analyze the correlation between two numerical columns. Args: dataset_id (str): ID of the dataset. col_name1 (str): First numerical column. col_name2 (str): Second numerical column. Returns: dict: Dataset ID, column names, and correlation value (None if it cannot be computed).
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": {
"dataset_id": "<dataset_id>",
"col_name1": "<col_name1>",
"col_name2": "<col_name2>"
},
"name": "analyze_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_name1 | Yes | ||
| col_name2 | Yes | ||
| dataset_id | Yes |