apply_weight_edits
Applies a previewed numerical weight edit to create a new model checkpoint using its plan token while preserving the original file and rejecting stale or invalid plans.
Instructions
Apply a previewed numerical edit into a new checkpoint. Pass preview's plan_token.
The original is preserved. Stale plans, existing output names, invalid shapes, and nonfinite results are rejected. Copies all checkpoint bytes before modifying them.
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": {
"request": "<request>",
"output": "<output>",
"expected_plan_token": "<expected_plan_token>"
},
"name": "apply_weight_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| request | Yes | ||
| expected_plan_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||