list_remote_files
Lists files on a remote Junos device, defaulting to /var/tmp, with a configurable path via config.ini.
Instructions
List files on the remote device path (/var/tmp by default).
Args: hostname: Target device hostname (must exist in config.ini) config_path: Path to config.ini (empty string uses default search)
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": {
"hostname": "<hostname>"
},
"name": "list_remote_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |