Create collection
create_collectionCreate a collection (a named group of phrases) for the target language. Returns its id (use it as add_phrases' collection_id) and link.
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": {
"name": "<name>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name | |
| native | No | Native-language code. Defaults to the primary profile. | |
| target | No | Target-language code. Defaults to the primary profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to this item in the Nightspar web app | |
| name | Yes | ||
| collectionId | Yes |