kernel_models_apply_migration
Apply one model migration: replace a gone model with a new one in a global config key or an agent's model chain, enacting a discovered migration after review.
Instructions
Apply ONE model migration: replace a gone model with a new one in either a global config key or a per-agent model_chain. Exactly one of configKey / agentId must be given. This is the gated action behind the discovery cron's suggestions — nothing changes until you call it.
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": {
"slug": "<slug>",
"from": "<from>",
"to": "<to>"
},
"name": "kernel_models_apply_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | New model id to use | |
| from | Yes | Model id to replace (the gone one) | |
| slug | Yes | Provider slug of the model being replaced | |
| agentId | No | Agent id whose model_chain to rewrite | |
| configKey | No | Global config env key, e.g. AGENTS_EVAL_MODEL or AGENTS_DEFAULT_MODEL_CHAIN |