{"uid":"cap_d7OdqDqHmGq4KYqF4wTbI","slug":"semantic-version-tools-semver-tools-a1694e54","name":"Semantic Version Tools (semver-tools)","description":"Parse a semantic version, compare two versions, test a version against a range (^, ~, >=, <, exact), and compute the next major/minor/patch bump.","url":"https://api.24klabs.ai/api/v1/semver-tools","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"type":"string"},"range":{"type":"string"},"version":{"type":"string"}}},"responseSchema":{"type":"json","example":{"satisfies":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uHki0yWju3-JgMBe-m9l-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses, compares, validates, and bumps semantic version strings, including range testing with operators like ^, ~, >=, and <.","exampleAgentPrompt":"What's the next minor version bump after 2.3.7, and does version 2.4.0 satisfy the range ^2.3.0?","exampleUseCases":[{"title":"Dependency compatibility check","prompt":"Check if version 4.2.1 of a package satisfies the version range >=4.0.0 <5.0.0 — I need to know if it's safe to use before I update my lockfile."},{"title":"Automated release version bump","prompt":"I just shipped a minor feature release from version 1.8.3 — what should the next version number be, and can you parse out the major, minor, and patch components of the result?"},{"title":"Compare two package versions","prompt":"I have two versions of the same library: 3.11.0-rc.1 and 3.10.5 — which one is newer and by how much?"}],"resultDescription":"Returns parsed version components (major, minor, patch, pre-release, build metadata), a boolean indicating whether a version satisfies a given range, a comparison result indicating which version is greater, and the computed next version string after a major/minor/patch bump.","failureModes":["Invalid semver string returns a parse error","Unsupported range operator causes a validation failure","Missing required input fields returns a 400 bad request","Malformed range expression (e.g. unclosed bracket) causes parsing rejection"],"whenToPreferThis":"Choose this endpoint when you need reliable, standards-compliant semver parsing, comparison, or range checking in an automated pipeline — especially when your agent must make release decisions, validate dependency compatibility, or compute next versions without relying on a local runtime like Node.js or a semver library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:43:27.932Z","isFirstParty":false}