append_dofile
Revise a Stata analysis by appending new code to an original do-file and executing it as a fresh reproducible run.
Instructions
Deprecated: create an immutable child run with run_prepare.
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": {
"original_dofile_path": "<original_dofile_path>",
"content": "<content>",
"run_name": "<run_name>"
},
"name": "append_dofile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Legacy do-file revision | |
| content | Yes | ||
| plan_id | No | ||
| run_name | Yes | ||
| plan_scope | No | ||
| project_path | No | ||
| original_dofile_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| run | No | ||
| data | No | ||
| error | No | ||
| warnings | No |