cycle_motor_on_touch
Cycle a motor through touch press/release phases and beep on success, providing clear auditory confirmation for testing NXT motor and touch sensor interactions.
Instructions
Cycle a motor between touch press/release phases, then beep on success.
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": {
"port": "<port>",
"touch_port": "<touch_port>"
},
"name": "cycle_motor_on_touch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| cycles | No | ||
| touch_port | Yes | ||
| forward_power | No | ||
| beep_duration_ms | No | ||
| beep_frequency_hz | No | ||
| max_ticks_per_phase | No | ||
| timeout_seconds_per_phase | No |