You're viewing a demo portfolio

Join the waitlist
PRSM

ic_files_grant

Active

Tool of Immersive Commons

declared in 1.31.0

Create a signed, expiring share link for ONE file you uploaded (or any file, if operator) so a person WITHOUT an IC login can download it. The link embeds a grant bound to that single file id and works until it expires. Args: { file_id, subject?: string (audit label, e.g. who it's for), ttl_seconds?: number (default 7 days, max 30 days) }. Returns: { ok, file_id, filename, link, expires_at }. Required scope: files:write (ic-member+; only the uploader or an operator can share a given file).

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "file_id"
  ],
  "properties": {
    "file_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "description": "The file id (f_...) to share."
    },
    "subject": {
      "type": "string",
      "maxLength": 200,
      "description": "Audit label for who the link is for (e.g. an email or name)."
    },
    "ttl_seconds": {
      "type": "integer",
      "maximum": 2592000,
      "minimum": 60,
      "description": "Link lifetime in seconds. Default 7 days, max 30 days."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Immersive Commons

https://github.com/immersive-commons/ic-skills

1/7 registries
View full server →