发版检查
release_checkChecks release readiness using .release-guard.json rules: version consistency, tags/CHANGELOG, build artifacts, and sensitive files, returning block and warning lists without file changes.
Instructions
按仓库的 .release-guard.json 规则检查「现在能不能发版」:版本一致性、tag/CHANGELOG、构建产物、敏感文件等,给出阻断与警告清单。只读仓库,不改文件。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "release_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npm | No | 是否额外查 npm 上的已发布版本(会联网,默认 false)。 | |
| repo | No | 仓库目录,默认当前工作目录。 | |
| timeout_ms | No | 整体超时(毫秒),默认 120000、上限 600000;超时会终止子进程并返回 timeout 错误。 |