axint.upgrade
Check for the latest Axint version and apply the upgrade to fix a stale server, preserving your current agent thread.
Instructions
Check the latest Axint package and optionally apply the upgrade while preserving the current agent thread. Returns exact install commands, optional Xcode MCP wiring refresh, .axint/upgrade/latest.*... Use: call when axint.status shows a stale server; not for app dependency upgrades. Effects: destructive when apply=true: can run package installs, refresh Xcode wiring, and write .axint/upgrade; may use npm network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory where .axint/upgrade/latest.* should be written. Defaults to the MCP process cwd. | |
| targetVersion | No | Specific Axint version to install. Defaults to the latest published npm version. | |
| latestVersion | No | Known latest version to compare against. Useful for deterministic agent tests or offline planning. | |
| apply | No | Whether to install the target package. Defaults to false, which only returns the plan. | |
| reinstallXcode | No | Whether apply mode should also refresh optional Xcode MCP wiring. Defaults to false. | |
| writeReport | No | Whether to write .axint/upgrade/latest.json and latest.md. Defaults to true when apply is true. | |
| format | No | Output format. markdown is human-readable, json is structured, and prompt is the continuation block. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |