stata_install_package
Install external Stata packages like estout, ivreg2, or rdrobust directly into the open Stata GUI using SSC or net sources.
Instructions
在已打开的 Stata GUI 中安装外部包,如 estout、ivreg2、rdrobust 等
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": {
"package": "<package>"
},
"name": "stata_install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | 安装来源:ssc(默认)或 net | |
| package | Yes | 包名称,例如 estout、ivreg2、rdrobust |