nexus_create_collection
Create a Nexus Mods collection and its initial draft revision by providing mods, game domain, author, and metadata.
Instructions
Create a new collection and its first draft revision (v2 GraphQL).
Either build the payload from the individual params or pass the full CollectionPayload JSON via collection_data_json (shape: {adultContent, collectionManifest: {info: {...}, mods: [...]}, collectionSchemaId}).
Returns: JSON {success, collectionId, revisionId} or an error string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name. | |
| author | Yes | Author display name. | |
| summary | No | Short summary. | |
| mods_json | No | JSON array of mods: [{name, version, optional, domainName, source: {type: nexus|direct|browse|manual|bundle, modId, fileId, md5, fileSize, updatePolicy, logicalFilename, fileExpression, url, adultContent}, author}]. Required for a revision. | |
| author_url | No | Author profile URL. | |
| description | No | Long description (BBCode). | |
| domain_name | Yes | Game domain name, e.g. 'skyrimspecialedition'. | |
| adult_content | No | Whether the collection contains adult resources. | |
| game_versions | No | Comma-separated game versions. | |
| collection_uuid | No | Client UUID for the collection. Auto-generated if omitted. | |
| collection_data_json | No | Full CollectionPayload JSON overriding all other params. | |
| collection_schema_id | No | Collection schema ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |