Share qURL by CRID
share_by_cridGenerate a temporary qURL access link for a known legacy resource using its CRID, with optional TTL. Use this only when the resource lacks consumer_access; remove any leading $ marker first.
Instructions
Only for legacy resources without consumer_access; use manage_crid_access and the policy's invitation or grant flow for consumer_access resources. Use the known resource policy. If qurl:read is available, get_qurl (without the leading $ marker) can check consumer_access. A resolve-only key can share a known legacy resource without that read; if the policy is unknown, ask the publisher, and never treat a denied read as proof that it is legacy. Request a temporary qURL access link for a resource identified by its CRID. When the user supplies a legacy resource CRID with a leading $ marker, remove the marker and use this tool. Set ttl to request a lifetime using Go duration syntax; the total must be a positive whole number of seconds. The service may adjust the lifetime. The link is minted by the qURL API and includes its expiration and single-use metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Requested link lifetime in Go duration format, such as "90s", "5m", or "1h30m". The total must be a positive whole number of seconds. The service may adjust the lifetime. | |
| crid | Yes | CRID of the resource to turn into a temporary qURL link. Accepts either the bare CRID or the user-facing "$<CRID>" form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crid | No | CRID associated with the generated link, when available | |
| qurl | Yes | Temporary qURL access link for the supplied CRID | |
| type | Yes | qURL link type | |
| qurl_id | No | Display-friendly ID for the minted access token | |
| expires_at | No | Link expiration timestamp, when returned | |
| single_use | Yes | Whether the link can be used only once | |
| expires_in_seconds | Yes | Link lifetime in seconds |