Retrieve links count
get_links_countCount short links in a Dub workspace and filter by domain, search term, tags, users, folders, tenants, or archived status.
Instructions
Retrieve the number of links for the authenticated workspace.
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": "get_links_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. | |
| search | No | The search term to filter the links by. The search term will be matched against the short link slug and the destination url. | |
| tag_id | No | Deprecated: Use `tagIds` instead. The tag ID to filter the links by. | |
| account | No | Exact configured private workspace profile label; not a tenant or provider account ID. | |
| tag_ids | No | The tag IDs to filter the links by. | |
| user_id | No | The user ID to filter the links by. | |
| group_by | No | The field to group the links by. | |
| folder_id | No | The folder ID to filter the links by. | |
| tag_names | No | The unique name of the tags assigned to the short link (case insensitive). | |
| tenant_id | No | The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant. | |
| with_tags | No | DEPRECATED. Filter for links that have at least one tag assigned to them. | |
| show_archived | No | Whether to include archived links in the response. Defaults to `false` if not provided. |