Update collection
update_collectionModify selected fields of an existing KIT collection with a JSON PATCH, changing only the values you provide. Verify first that the collection is not automatic, since auto-generated ones cannot be edited.
Instructions
Update an existing collection (plain JSON PATCH; only the provided fields are changed). The collection type itself cannot be changed. A collection with is_automatic: true is created and filled by KIT itself and cannot be changed — check get_collection first. Call get_operation_schema("UpdateCollection") for the exact request shape.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"collection": "<collection>"
},
"name": "update_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Collection ID (UUID). | |
| collection | Yes | Fields to update, matching the UpdateCollectionRequest schema (see get_operation_schema("UpdateCollection")). Must not be empty. |