List share links
list_share_linksList public share links. With postId, lists that post's links that are not revoked. Without it, lists every link in the workspace, for owners and admins only, and status narrows that list. Each link has id, postId, label, status, expiresAt, accessCount and canRevoke. Links never include the token or URL; create_share_link returns those once. Pass nextCursor back as cursor.
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_share_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many links to return in one page. | |
| cursor | No | nextCursor from the previous page. Leave it out for the first page. | |
| postId | No | List this post's links: its ID, post number or identifier, from list_posts or search. Leave it out for every link in the workspace. | |
| status | No | Only links in this state. It applies to the workspace list and is ignored with postId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | No | true when another page exists. | |
| nextCursor | No | Pass as cursor for the next page. Null or absent on the last page. | |
| shareLinks | Yes | This page of results. |