codeartsinspector__CancelTasks
Cancel or restart an existing website vulnerability scan by providing its project ID and task ID, with the action to control scan lifecycle.
Instructions
[CODEARTSINSPECTOR] 取消或重启网站漏洞扫描任务
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": {
"action": "<action>",
"project_id": "<project_id>",
"task_id": "<task_id>"
},
"name": "codeartsinspector__CancelTasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 对扫描任务的操作: | |
| task_id | Yes | 任务ID | |
| project_id | Yes | 用户的project_id,获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-vss/vss_api_04_019.html)。 |