create_task_definition
Define a cleaning task for a GS robot by specifying its serial number, task name, work mode, map resources, and optional loop count for repeat execution.
Instructions
创建任务定义 / Create task definition
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>",
"work_mode": "<work_mode>",
"map_resource_list": "<map_resource_list>"
},
"name": "create_task_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| robot_sn | Yes | ||
| task_name | Yes | ||
| work_mode | Yes | ||
| loop_count | No | ||
| map_resource_list | Yes | ||
| task_advance_config | No |