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。
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": {
"job_id": "<job_id>"
},
"name": "stata_task_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | stata_run(background=True) 返回的全局 job_id(任务表全局查询,不属某会话)。 |