uploadSop
Upload SOP files to the MES system. Requires version, file path, materiel ID, and SOP category ID as input parameters.
Instructions
上传 SOP 文件到 MES 系统。只有在所有参数齐全后才能调用。
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": {
"version": "<version>",
"file_path": "<file_path>",
"materielId": "<materielId>",
"esopCategoryId": "<esopCategoryId>"
},
"name": "uploadSop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | SOP 版本号。 | |
| file_path | Yes | 本地 SOP 文件路径,必须是 MCP Server 所在机器可读取的路径。 | |
| materielId | Yes | 物料ID,来自 likeSelectMaterielList 返回的物料ID。 | |
| esopCategoryId | Yes | SOP 分类ID,来自 selectCategoryTreeList 返回的分类ID。 |