mrs__CreateExecuteJob
Create and submit a job to a Huawei Cloud MRS cluster by specifying the cluster ID, project ID, job name, job type, and optional execution arguments.
Instructions
[MRS] 在MRS集群中新增并提交一个作业。
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": {
"cluster_id": "<cluster_id>",
"job_name": "<job_name>",
"job_type": "<job_type>",
"project_id": "<project_id>"
},
"name": "mrs__CreateExecuteJob"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | 作业名称,只能由字母、数字、中划线和下划线组成,并且长度为1~64个字符。 | |
| job_type | Yes | 作业类型: | |
| arguments | No | 程序执行的关键参数,该参数由用户程序内的函数指定,MRS只负责参数的传入。 | |
| cluster_id | Yes | 集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。 | |
| properties | No | 程序系统参数。 |