open_i2c
Opens an I2C connection with pull-ups enabled and starts an engagement for probing target devices or writing to the bus.
Instructions
Open an I2C connection and start an engagement. Configures I2C mode with pullups enabled. [allowed-write] [Duration: fast (~0.5-2 s -- mode switch + folder creation).]
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": {
"engagement_name": "<engagement_name>"
},
"name": "open_i2c"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | I2C clock speed in Hz | |
| current_ma | No | Current limit in mA | |
| voltage_mv | No | Target voltage in mV (optional, enables PSU) | |
| clock_stretch | No | Enable clock stretching | |
| engagement_name | Yes | Target device name | |
| engagement_path | No | Path to an engagement folder (from project-mcp). If provided, writes to <engagement_path>/i2c/ instead of creating a standalone engagement. |