List links
list_linksList the links on the account the API key belongs to: short links, link-in-bio pages and restaurant menus, with their click counts. Filter by type or by a search term, and sort by newest or by most clicked. Requires a ShareCut API key (Business plan).
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_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Match against short code, title, description and destination. | |
| sort | No | Newest first (default) or most clicked first. | |
| type | No | Only links of this kind. | |
| limit | No | How many to return. Default 20. | |
| offset | No | How many to skip, for paging. Default 0. |