_mcp_merge_lora_weights
Merge a base model with a LoRA adapter into a merged 16-bit model, performing a dry run unless local Python is configured.
Instructions
Emit the LoRA merge command (base + adapter → merged 16-bit) — dry_run unless FTOS_LOCAL_PYTHON configured.
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": {
"base_model": "<base_model>",
"adapter_path": "<adapter_path>",
"output_path": "<output_path>"
},
"name": "_mcp_merge_lora_weights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_model | Yes | ||
| output_path | Yes | ||
| adapter_path | Yes | ||
| local_python | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||