write_dofile
Write Stata do-files (deprecated). Use run_prepare instead to create reproducible do-files with provenance tracking and planning gates.
Instructions
Deprecated: use 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": {
"content": "<content>",
"run_name": "<run_name>"
},
"name": "write_dofile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Legacy do-file preparation | |
| content | Yes | ||
| plan_id | No | ||
| run_name | Yes | ||
| plan_scope | No | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| run | No | ||
| data | No | ||
| error | No | ||
| warnings | No |