check_rules
Checks configured coverage rules and reports noncompliant needs with reasons, helping you identify what to fix before the build determines pass/fail.
Instructions
設定ファイル(sphinx-needs-mcp.toml)の網羅の規則を調べ、守れていない need と理由を返します。
例:「承認済みのソフトウェア要件は、検証ケースから参照されていること」を守れていない要件。 合否を決めるのはビルドです。これは、どこを直せばよいかを細かく調べるためのものです。 規則の一覧は describe_project の rules で分かります。
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": "check_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 規則ごとに返す違反の上限(1〜500) | |
| rule_id | No | この規則だけを調べます。省略すると、すべての規則を調べます |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||