search_documents
Search local documents for a query, opening files to extract matching passages and returning surrounding text as evidence snippets.
Instructions
여러 문서의 본문을 실제로 열어 검색어를 찾고, 주변 문장을 근거 스니펫으로 돌려줍니다.
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 |
|---|---|---|---|
| kinds | No | 문서 종류 필터 | |
| query | Yes | 찾을 낱말이나 구절(2자 이상) | |
| folder | No | 검색 시작 폴더. 비우면 첫 번째 허용 루트 | |
| max_files | No | 본문을 열어 볼 최대 파일 수 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| count | Yes | ||
| query | Yes | ||
| stage | Yes | 문서 요약·정리 흐름에서 지금 위치한 단계 | |
| stats | Yes | ||
| folder | Yes | ||
| status | Yes | 이 호출의 결과 상태 | |
| next_actions | No | 이어서 호출하면 좋은 도구 목록 |