get_best_practices
Search Houdini advisory recipes by query, category, or ID to find solutions for common issues from the local knowledge base.
Instructions
查询 fork 人工审查的 BEST_PRACTICES advisory recipes(bridge-local)。
本工具 **不建立 Houdini TCP 连接**,直接在 bridge 进程内加载并查询
BEST_PRACTICES.md。recipe 是 advisory,不替代 verify_hou_api /
get_houdini_help,也不替代目标 Houdini 版本的 live verification。
参数说明:
- query: 可选,对 problem/symptom/fix/category/source 做 casefold
子串匹配。
- category: 可选,精确匹配 category 字段。
- id: 可选,精确匹配 recipe id(如 "BP-001")。
多个参数组合为 AND。
返回统一 envelope:status(success/error)、practices(实际返回列表)、
total_indexed(过滤前索引数)、matched_count(过滤命中数)、
returned_count(cap 后实际返回数,恒等于 len(practices))、truncated
(matched > returned 时为 true)。error 时 error={code,message,details},
且 practices 为空、三个 count 为 0。响应整体过 apply_response_cap。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ctx | Yes | ||
| query | No | ||
| category | No |