Compute the next version
bump_versionCompute the next version for a release type (major, minor, patch, premajor, preminor, prepatch, prerelease, release), with an optional prerelease id such as alpha, beta or rc, exactly like npm version / semver.inc. Read-only: nothing is published. Same engine as GET /api/bump.
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": {
"version": "<version>"
},
"name": "bump_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preid | No | Prerelease identifier, e.g. "beta" (for pre* and prerelease). | |
| release | No | Release type. | patch |
| version | Yes | Current version: a semantic version such as "1.4.2", "v2.0.0" or "3.0.0-rc.1+build.5". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | ||
| notes | No | ||
| preid | No | ||
| release | No | ||
| version | Yes | ||
| apiVersion | Yes |