List shares
nextcloud_list_sharesLists all file shares in an account, shares for a specific path, or items others shared with you, helping you audit and manage access.
Instructions
List shares: all of the account's shares, the shares on one path, or the shares other people gave the account.
GET /ocs/v2.php/apps/files_sharing/api/v1/shares
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nextcloud_list_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| subfiles | No | ||
| shared_with_me | No |