compile_sketch
Queues a build of a saved sketch for the specified board FQBN and returns a build ID for polling status.
Instructions
Queue a build of a saved sketch snapshot for this FQBN. Poll get_build_status with the build ID.
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": {
"sketch": "<sketch>",
"fqbn": "<fqbn>"
},
"name": "compile_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | Yes | ||
| sketch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| warnings | No | ||
| request_id | No | ||
| next_actions | No |