open_file
Open MakeCode .hex, .mkcd, .ts, or .py files from your computer as new projects to edit, simulate, and save.
Instructions
Open a MakeCode project file from this computer as a new project: .hex (made by MakeCode), .mkcd, .ts or .py.
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": {
"path": "<path>"
},
"name": "open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to open |