Full-text search
search_documentsSearch ingested UNIX documentation for ranked page-level matches, with snippet excerpts around the first hit. Optionally limit results to a single document.
Instructions
Search the ingested UNIX documentation. Returns ranked page-level matches with a snippet around the first hit. Optionally restrict to a single document by doc_id.
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 | Search query, e.g. "TCP retransmission" or "socket options" | |
| doc_id | No | Restrict search to this document | |
| max_results | No | Maximum number of matches to return |