MCP Gateway
ApiBundles

Reorder bundle tools

Reorder tools within a bundle by providing a new display order mapping.

POST
/api/v1/bundles/{bundle_id}/reorder

Path Parameters

bundle_id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/api/v1/bundles/497f6eca-6276-4993-bfeb-53cbbbba6f08/reorder" \  -H "Content-Type: application/json" \  -d '{    "tool_orders": [      [        "497f6eca-6276-4993-bfeb-53cbbbba6f08",        0      ]    ]  }'
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}