Search manual pages
search_manpagesFind 4.2BSD man page entries using a keyword query, optionally restrict by section, and view ranked matches with snippets.
Instructions
Search the 4.2BSD manual pages. Returns ranked matches with a snippet around the first hit. Restrict with section (2=syscalls, 3=libc, 4=devices, 5=formats).
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_manpages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query, e.g. "socket options" or "open flags" | |
| section | No | Restrict to this manual section | |
| max_results | No | Maximum number of matches to return |