collection_add_models
ManagementAdd 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
| Name | Type | Required | Description |
|---|---|---|---|
| collection_id | string | ✓ | Collection ID. |
| model_ids | array | ✓ | Model IDs to add. |
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |