list_directories_by_name
List directories alphabetically by name from a specified path using Linux find command, with options for reverse sorting and remote SSH execution.
Instructions
List directories sorted alphabetically by name. Uses efficient Linux find command.
Args:
path: Directory path to analyze
reverse: Sort in reverse order (Z-A) (default: False)
host: Remote host to connect to via SSH (optional, executes locally if not provided)
username: SSH username for remote host (required if host is provided)
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": {
"path": "<path>"
},
"name": "list_directories_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| reverse | No | ||
| host | No | ||
| username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |