Reload Configuration
reload_configRe-read configuration files without restarting the server and report added, removed, or changed routers and identities; use dryRun to preview changes.
Instructions
Re-read routers.yaml and identities.yaml without restarting the server (the same as sending it SIGHUP) and report which routers and identities were added, removed or changed, by id and field name. Both files are checked first: if either is missing or invalid, nothing changes and the error names the problem. Pooled connections and circuit breakers of changed or removed routers are dropped, so the next call connects with the new settings. Cached identity tokens are cleared, so a revoked token stops working. In HTTP mode a file with readonly or operator identities is refused unless MIKROMCP_CONFIRMATION_SECRET is set. Needs an admin or superadmin identity. With dryRun it reports what would change and changes nothing. Server settings (MIKROMCP_* environment variables, the HTTP port) are not reloaded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reload_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Check both files and report what would change, without changing the running server | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |