create_external_share
Creates a public share link for content, with optional expiration. Accessible by anyone without a Marcora account. Workflow: 1) Get content_id from list_content. 2) Optionally provide expires_at as a Unix timestamp to limit access duration. 3) Returns a ready-to-use share_link URL that is accessible publicly, but won't be indexed by search engines.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": {
"content_id": "<content_id>"
},
"name": "create_external_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_id | Yes | The ID of the content you wish to share | |
| expires_at | No | Optional expiry for the share link, as a Unix timestamp in MILLISECONDS (e.g. Date.now() + 7 days). It is compared directly against the current time in milliseconds, so a seconds-based timestamp will make the link appear already expired. Omit it — or pass anything that is not a number, which is ignored — to create a link that never expires. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_link | Yes | Public URL (https://app.marcora.ai/s/<token>) anyone can use to view the content |