midas_commit_beam
Write a previously previewed beam MCT file after verifying its SHA-256; require the inspected existing-file hash before overwriting.
Instructions
Write exactly a previously previewed beam MCT file. Requires the matching preview SHA-256; overwrite requires the inspected existing-file SHA-256 too.
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": {
"file": "<file>",
"expectedSha256": "<expectedSha256>"
},
"name": "midas_commit_beam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| spec | No | ||
| overwrite | No | ||
| expectedSha256 | Yes | ||
| expectedExistingSha256 | No |