list_shares
List all accessible shares, with optional filters for share type and ownership. Returns share details including id, kind, path, visibility, and user role.
Instructions
List all accessible shares.
Args: kind: Filter by share type — "doc" or "folder". Empty for all. owned_only: If true, only return shares owned by the user.
Returns: JSON array of shares with id, kind, path, visibility, user_role.
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": "list_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| owned_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |