Transfer collection
transfer_collectionTransfer a collection and its documents to another workspace by supplying the target workspace slug; the API token's user must be a member of that workspace.
Instructions
Transfer a collection (and its documents) to another workspace. The API token's user must be a member of the target workspace. Provide the target workspace slug.
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": {
"collectionId": "<collectionId>",
"targetWorkspaceSlug": "<targetWorkspaceSlug>"
},
"name": "transfer_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | ID of the collection (database) to transfer | |
| targetWorkspaceSlug | Yes | Slug of the target workspace |