Skip to content

Reorder Collection

Persist the exact order of every component currently in an owned collection.

TOOLreorder_collection
{
  "mcpServers": {
    "frontendforever": {
      "command": "npx",
      "args": [
        "-y",
        "frontendforever-mcp"
      ],
      "env": {
        "MCP_API_KEY": "<your_api_key>"
      }
    }
  }
}

Authorization

X-API-Keystringheaderrequired

Parameters

idrequired
string
Collection UUID
componentIdsrequired
array
Every current component UUID in the desired order
Request Preview
cURL
curl --request PUT \
  --url 'https://frontendforever.com/api/mcp/collections/%3Cid%3E/reorder' \
  --header 'X-API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "componentIds": [
    "<component-id>"
  ]
}'

Example responses

Collection updated: Dark Mode Buttons
ID: <uuid>