execute_drive_run
Runs an explicitly approved drive motion plan by taking PC control, sending speed and heartbeat commands, and returning a job ID for continuous mode or releasing control after a timed stop.
Instructions
仅在用户明确允许该计划实际运动时调用。申请 PC 控制权、发送带单位的速度和心跳;持续模式返回后台 job_id,用 get_drive_run_status 查询、stop_drive_pc_control 停止。限时模式结束 OFF1 停机后释放;失败不自动重试。
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": {
"plan_id": "<plan_id>"
},
"name": "execute_drive_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||