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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max recent attempts to return (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_dir | Yes | ||
| running_from | Yes | Real path of the currently running binary. | |
| binaries_found | Yes | LMCP binaries found at known alternate paths. | |
| cache_writable | Yes | Whether the update cache dir is writable (#1 silent-failure cause). | |
| current_version | Yes | ||
| last_success_at | Yes | ISO 8601 timestamp of last successful update, empty if none. | |
| recent_attempts | Yes | Recent update attempts, newest first. | |
| consecutive_failures | Yes | ||
| recent_attempts_count | Yes |