Push a compiled program
push_programSend a program compiled on the visitor's machine (Intel HEX text, 48 KiB at most, e.g. arduino-cli's .ino.hex) to the human's browser, which loads it in the simulator without compiling and, if run, starts it. files: the sources, shown read-only in the editor, never compiled. During a turn on a real bench, the bench gets it too. Prefer it to push_to_editor, which is the fallback when the local toolchain is missing.
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": {
"hex": "<hex>"
},
"name": "push_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | ||
| run | No | ||
| files | No | ||
| session | No | ||
| agent_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |