stata_task_status
Check the status of a background Stata task by job ID, returning whether it's running, done with result text, or errored. Unknown IDs report an error.
Instructions
查询后台任务:running / done(带结果文本) / error。未知 job_id 报 rc=1。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | stata_run(background=True) 返回的全局 job_id(任务表全局查询,不属某会话)。 |