Check the versions pinned in a Dockerfile, compose file, package.json, pyproject or CI workflow (live end-of-life and Docker tags)
ripe_check_fileUse when a Dockerfile, docker-compose/compose.yaml, Kubernetes manifest, GitHub Actions workflow, package.json, pyproject.toml, requirements.txt, go.mod, global.json, .nvmrc, .python-version, .tool-versions, mise.toml, Gemfile, composer.json or Terraform file has just been written or edited, or the user asks whether the versions in it are current (signals: "write a Dockerfile", "FROM node:18", "python:3.9-slim", "is this base image outdated", "end of life", "EOL", "upgrade the runtime", "which Node version", "does this tag exist", "manifest unknown", "engines", "requires-python"). Reads every version pin with its line (FROM and image: references with build-arg defaults, engines/volta/packageManager, requires-python, go and toolchain directives, sdk.version, setup-* versions and matrices, and well-known frameworks such as Next.js, React, Django, Rails, Laravel), then checks each one live: support status on today's date from endoflife.date (supported, security fixes only, end of life, not released, no such version), the end-of-life date and days left, the latest patch in that line, the newest supported line and the oldest one still supported; for container images it also checks the base OS in the tag (alpine3.18, bookworm, jammy), deprecated official images, and that the tag really exists on its registry (Docker Hub, ghcr.io, mcr.microsoft.com, quay.io and others), and proposes a replacement tag that it confirmed exists. Returns findings with severity, line, message and fix, plus a fix_message. Example: {"filename":"Dockerfile","content":"FROM node:18-alpine3.18\nRUN npm ci\nFROM python:3.9-slim-buster"}. Does not build images, resolve npm or PyPI dependency trees (packages are checked only when endoflife.date tracks them), or see private registries. Up to 100000 characters.
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": {
"content": "<content>"
},
"name": "ripe_check_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | File type; default auto (from filename, then content). | |
| as_of | No | Judge support status on this date (YYYY-MM-DD). Default: today (UTC). | |
| content | Yes | The text of the file. | |
| filename | No | File name or path, used to tell the file type: "Dockerfile", "compose.yaml", ".github/workflows/ci.yml", "package.json", "pyproject.toml", "go.mod", ".nvmrc"... Optional when kind is given or the content makes it obvious. | |
| warn_days | No | Warn when end of life is this many days away or less. Default 180. | |
| check_tags | No | Check Docker image tags exist on their registry (and verify the suggested replacement tag). Default true. |