List upload grants

List every user grant on the upload or folder that governs a path, with the target that was resolved. Requires project.uploads.admin.

Arguments

  • project_referencestring · min length 1

    Project ID or slug.

  • upload_pathstring · min length 1

    Upload UUID for direct grants, or folder/file path resolved to the applicable folder visibility setting.

  • pathstring · min length 1

    Another spelling of upload_path. Send one of the two.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__list_upload_grants",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"permission\":\"read\",\"created_at\":\"string\"}],\"resolved_path\":\"string\",\"resolved_type\":\"upload\",\"resolved_id\":\"00000000-0000-0000-0000-000000000000\"}"      }    ],    "structuredContent": {      "data": [        {          "user_id": "00000000-0000-0000-0000-000000000000",          "permission": "read",          "created_at": "string"        }      ],      "resolved_path": "string",      "resolved_type": "upload",      "resolved_id": "00000000-0000-0000-0000-000000000000"    }  }}

The tool ran; its output is result.structuredContent.