prd_search
Locates code implementations of business requirements using PRD-to-code links. Input requirement description, get function/component paths.
Instructions
【需求定位代码】当问题涉及"需求实现"、"功能在哪"、"这个需求怎么做的"时,必须调用此工具。输入需求描述文字,直接返回实现该需求的函数/组件及文件路径,基于 PRD 文档与代码的预关联索引。
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": {
"query": "<query>"
},
"name": "prd_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最大返回数量(默认 10) | |
| query | Yes | 需求描述文字 | |
| projectPath | No | 项目路径 |