i2c_transaction
Run a single bounded I2C/low-speed transaction on a selected NXT port by writing bytes and reading a specified length, with optional timeout to prevent blocking.
Instructions
Perform one bounded opt-in NXT low-speed/I2C transaction.
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>",
"write_bytes": "<write_bytes>",
"read_length": "<read_length>"
},
"name": "i2c_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| read_length | Yes | ||
| write_bytes | Yes | ||
| timeout_seconds | No |