You're viewing a demo portfolio

Join the waitlist
PRSM

ic_folder_create

Active

Tool of Immersive Commons

declared in 1.31.0

Create a folder to group files. Root folder: omit parent. Sub-folder: pass parent (you must own the parent or be operator). visibility: 'ic-members' (default) / 'grantees' (specific Clerk ids) / 'private'. Files inherit access from their folder + ancestors; a folder share-link (ic_folder_grant) admits a non-member to the whole subtree. Args: { name, description?, parent?, visibility?, grantees?, tags? }. Returns { ok, folder }. Required scope: files:write (ic-member+).

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "Folder name."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 12,
      "description": "Free-text tags."
    },
    "parent": {
      "type": "string",
      "maxLength": 64,
      "description": "Parent folder id (d_...); omit for a root folder."
    },
    "grantees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "description": "Clerk user ids allowed when visibility='grantees'."
    },
    "visibility": {
      "enum": [
        "ic-members",
        "grantees",
        "private"
      ],
      "type": "string",
      "description": "Who can see it. Default 'ic-members'."
    },
    "description": {
      "type": "string",
      "maxLength": 2000,
      "description": "What's in it."
    }
  }
}

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 →