collection_add_models

Management

Add Models to Collection

Add models to a collection. Args: - collection_id: required - model_ids: required — array of model IDs to add - team_id, project_id: required for OAuth callers Returns: the mutation result from the API. Example: "Add these models to a collection" -> collection_id="collection_xxx", model_ids=["model_1"]
open-world

Parameters

NameTypeRequiredDescription
collection_idstringCollection ID.
model_idsarrayModel IDs to add.
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.