stata_set_workdir
Sets the Stata working directory for a project, routing outputs to /stata_output and running Stata commands from that folder. Use it when specifying or correcting the project folder.
Instructions
Set the project folder. Outputs then go to /stata_output and Stata cds there.
Use when the user names a project folder, or if the detected folder is wrong.
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": "stata_set_workdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |