prepare_upload
Creates a five-minute approval plan for uploading a specified build to a serial port and shows the approval file to the user.
Instructions
Create a five-minute plan for one successful build and serial port. Show approval_file to the user.
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": {
"build_id": "<build_id>",
"port": "<port>"
},
"name": "prepare_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| build_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| warnings | No | ||
| request_id | No | ||
| next_actions | No |