Install Arduino CLI
install_arduino_cliInstall and configure arduino-cli on your system using package managers, then verify the CLI path is ready for Arduino workflows.
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 | ||
| raw | No | ||
| data | No | ||
| note | No | ||
| error | No | ||
| stage | No | ||
| status | No | ||
| command | No | ||
| rawTail | No | ||
| errorCode | No | ||
| retryable | No | ||
| nextActions | No | ||
| reasonCodes | No |