LMCP Upgrade Diagnostics
lmcp_upgrade_diagnosticsReturns LMCP's self-upgrade health (the LMCP app upgrading itself, not editing your data): current version, the last N app-version upgrade attempts with any errors, whether the upgrade cache dir is writable, and any stale LMCP binaries at alternate paths. Call this when the app's auto-upgrade seems stuck, or to explain why a user is on an old version.
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": "lmcp_upgrade_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max recent attempts to return (default 10, 1-50) | |
| confirm | No | Ignored; kept for older clients. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_dir | No | ||
| running_from | No | Real path of the currently running binary. | |
| binaries_found | No | LMCP binaries found at known alternate paths. | |
| cache_writable | No | Whether the update cache dir is writable (#1 silent-failure cause). | |
| current_version | Yes | ||
| last_success_at | No | ISO 8601 timestamp of last successful update, empty if none. | |
| recent_attempts | No | Recent update attempts, newest first. | |
| consecutive_failures | No | ||
| recent_attempts_count | No |