torch_pack_archive
Pack a directory of prepared assets into O2R or OTR archives without needing a ROM or config.yml.
Instructions
Pack a directory of prepared resource files into an O2R or OTR archive without requiring a ROM or config.yml.
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": {
"folder": "<folder>",
"target": "<target>",
"format": "<format>"
},
"name": "torch_pack_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Input directory containing prepared assets to pack recursively | |
| format | Yes | Archive type: "o2r" or "otr" | |
| target | Yes | Output archive file path (.o2r or .otr). Must NOT be inside the input folder! | |
| version | No | Optional archive port-version (X.Y.Z uint16 format e.g. "1.0.0") | |
| timeout_ms | No | Timeout in milliseconds | |
| torch_path | No | Optional custom path to torch binary |