run_cleaning_task
Create and start a cleaning task on a GS cleaning robot using robot serial number, map ID, and resource IDs, with optional mode, strength, and loop count.
Instructions
创建并启动清洁任务 / Create and start cleaning task
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": {
"robot_sn": "<robot_sn>",
"task_name": "<task_name>",
"map_id": "<map_id>",
"resource_ids": "<resource_ids>"
},
"name": "run_cleaning_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | sweep | |
| map_id | Yes | ||
| robot_sn | Yes | ||
| strength | No | ||
| task_name | Yes | ||
| loop_count | No | ||
| resource_ids | Yes | ||
| wait_seconds | No |