export_job_archive
Exports a Genesis CAM job to a caller-specified TGZ archive path; set overwrite=true to replace an existing archive.
Instructions
将 Job 导出为 TGZ;覆盖已有文件必须显式设置 overwrite=true。
Genesis 10.05 的 export_job 只接受已存在的目录作为 path 参数,并在其中
自行生成 <job>.tgz;直接传文件路径会返回 112111(目录不存在或不可写)。
这里把目标文件的父目录交给 Genesis,再把产物改成调用方指定的文件名。
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_name": "<job_name>",
"target_tgz_path": "<target_tgz_path>"
},
"name": "export_job_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| overwrite | No | ||
| target_tgz_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||