Resolve share link
resolve_share_linkTurn a share link of the user's workspace (https://playbook.com/s/{workspace}/{link}) into the folder behind it. Returns organization, folder_token, folder_title, uploads_enabled and expired. To read what is on the link, call list_assets with THAT organization (a full URL names its own workspace, which may not be your default), collection_token: folder_token and nested_assets: true. Only active links of a workspace the user belongs to resolve; a renamed link also resolves by its old address. When the id in a /s/ URL is a folder's token rather than a link, the folder is read and comes back as organization, folder_token and folder_title only: that says nothing about whether the URL works as a public link. A link that shares hand-picked assets rather than a folder returns asset_tokens (up to 100) and asset_count instead of folder_token: read those with get_assets. A folder's own address in the app (https://playbook.com/{workspace}/{folder_token}, no /s/) is accepted too: it already carries the folder token, and comes back as organization, folder_token and folder_title only.
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": {
"share_url": "<share_url>"
},
"name": "resolve_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_url | Yes | The full share URL, or just its last path segment. A full URL names its own workspace, so `organization` is not needed with one. | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |