Install Arduino CLI
install_arduino_cliAutomatically installs Arduino CLI for your operating system using available package managers, then verifies and configures the CLI path.
Instructions
Attempt to install arduino-cli for the current OS using available package managers, then verify and configure CLI path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "install_arduino_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Install method. Default `auto` tries OS-relevant methods in order. | |
| setCliPathInProcess | No | If true (default), set ARDUINO_CLI_PATH in this MCP process after install. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| status | No | ||
| command | No | ||
| data | No | ||
| raw | No | ||
| rawTail | No | ||
| stage | No | ||
| errorCode | No | ||
| retryable | No | ||
| reasonCodes | No | ||
| nextActions | No | ||
| note | No | ||
| error | No |