motor_position
Retrieve a motor's absolute and raw encoder positions in degrees to monitor the current rotation angle of a connected NXT motor via its port.
Instructions
Read a motor's absolute and raw encoder positions in degrees.
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>"
},
"name": "motor_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes |