list_directories_by_modified_date
Lists directories sorted by modification date to identify recent changes or analyze file system activity on Linux systems, supporting both local and remote SSH connections.
Instructions
List directories sorted by modification date. Uses efficient Linux find command.
Args:
path: Directory path to analyze
newest_first: Show newest first (default: True)
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_modified_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| newest_first | No | ||
| host | No | ||
| username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |