get_command_documentation
Retrieve Unix command documentation directly within chat, offering help pages, man pages, and usage details using economic approaches or specific manual sections.
Instructions
Get documentation for a command in Unix-like system.
Args: command: The command to get documentation for (no arguments) prefer_economic: Whether to prefer the economic approach (--help/-h/help) [default: True] man_section: Specific manual section to look in (1-9) [optional]
Returns: The command documentation as a string
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | ||
man_section | No | ||
prefer_economic | No |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"title": "Command",
"type": "string"
},
"man_section": {
"default": null,
"title": "Man Section",
"type": "integer"
},
"prefer_economic": {
"default": true,
"title": "Prefer Economic",
"type": "boolean"
}
},
"required": [
"command"
],
"title": "get_command_documentationArguments",
"type": "object"
}