recommend
Suggests ranked causal estimators with reasoning, precondition checks, and a suggested workflow from a dataset and research question, so agents can choose the right method before fitting.
Instructions
Method advisor: given a dataset + research question, recommends a ranked list of estimators with reasoning, precondition checks, and a full suggested workflow. This is the first call an agent should make if it doesn't know which estimator to run. Supports DAG input, mediator / proxy / principal-strata variables, and optional resampling-stability verification.
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": {
"y": "<y>"
},
"name": "recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| y | Yes | Outcome column. | |
| id | No | Unit identifier (panel). | |
| time | No | Time column (panel / DID). | |
| cutoff | No | RD cutoff value. | |
| design | No | Override auto-detected design. | |
| detail | No | Payload depth; agent is the fullest. | agent |
| verify | No | If True, run resampling-stability checks on top recommendations. | |
| data_id | No | Data handle (d_...) from load_data; replaces data_path. | |
| data_csv | No | Small inline table as CSV text. | |
| as_handle | No | Cache the fit and return its result_id. | |
| data_path | No | Absolute path of a data file on the server. | |
| result_id | No | Handle of an earlier fit made with as_handle=true. | |
| treatment | No | Treatment / exposure column. | |
| covariates | No | Covariate columns. | |
| instrument | No | Instrumental variable. | |
| running_var | No | Running variable (RD). | |
| data_records | No | Small inline table as row objects. | |
| max_output_bytes | No | Result byte budget (default 262144; 0 = none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||