campusgo__CreateTasks
Creates a CampusGo service task by configuring its input source, output destination, service name and version, and project ID for video analysis workflows.
Instructions
[CAMPUSGO] 该接口用于创建服务作业
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": {
"input": "<input>",
"name": "<name>",
"output": "<output>",
"project_id": "<project_id>",
"service_name": "<service_name>",
"service_version": "<service_version>"
},
"name": "campusgo__CreateTasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 作业的名称 | |
| input | Yes | 作业的输入配置 | |
| output | Yes | 作业的输出配置 | |
| project_id | Yes | 用户项目ID | |
| description | No | 作业的描述 | |
| edge_pool_id | No | 仅边缘作业需填且必填,作业运行指定的边缘运行池ID | |
| service_name | Yes | 服务API,具体API名称见园区智能体提供的API参考列表中URI描述[API列表](https://support.huaweicloud.com/api-campusgo/campusgo_03_0013.html) | |
| service_config | No | 作业运行时指定的算法配置参数,见园区智能体API参考文档[API参考文档](https://support.huaweicloud.com/api-campusgo/campusgo_03_0013.html) | |
| service_version | Yes | 作业对应服务的版本号 | |
| resource_order_id | No | 作业指定的算法能力包包周期订单ID |