upload_sketch
Flashes a one-time plan to an Arduino board after local terminal approval and fresh target verification, ensuring only the confirmed build is written.
Instructions
Flash a one-time upload plan after local terminal approval and fresh target verification.
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": {
"upload_id": "<upload_id>"
},
"name": "upload_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| warnings | No | ||
| request_id | No | ||
| next_actions | No |