search_documents
Search local documents by keyword to find relevant files with context snippets.
Instructions
DOCS_ROOT 配下のドキュメントを全文検索する。
Args:
query: 検索キーワード。スペース区切りで複数指定するとAND検索(大文字小文字は区別しない)。
max_results: 返す文書数の上限。
Returns:
マッチした文書ごとに 相対パス・マッチ回数・前後の抜粋(snippets) を、マッチ回数の多い順で返す。
本文全体が必要なら read_document を使うこと。
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": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |