save_track
Installs a learner-approved track, then validates it with offline probes, installing only if all gates pass.
Instructions
Install a track: track.yaml, a Dockerfile (a WASI track has none) and probe/ files. Building the image runs the Dockerfile WITH network access (a WASI track downloads its toolchain instead), so only install tracks the learner agrees to. Codemm then runs the probes with the network off and installs the track only if every gate passes; otherwise it returns what failed.
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": {
"files": "<files>"
},
"name": "save_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | File map: { "relative/path": "file contents as text" } |