ls
List the contents of a remote directory on a Sliver session or beacon to view files and subdirectories.
Instructions
List a remote directory on a session/beacon.
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": {
"target_id": "<target_id>"
},
"name": "ls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| target_id | Yes |