List share links
list_sharesList public share links for a wiki page, showing token, URL, and revocation status. Use include_revoked to include revoked links.
Instructions
List a page's public share links (editor+): id, token, absolute url, has_password, include_descendants, expires_at, revoked_at. Active links only by default; pass include_revoked to also see revoked ones. Tokens are bearer secrets, so this needs a write-scoped key.
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": {
"page_id": "<page_id>"
},
"name": "list_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | page whose share links to list | |
| include_revoked | No | also include revoked links (default: active only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shares | Yes |