list_contents
Retrieve content items and collections from a hub profile workspace with pagination, filtering by type, archive status, and exclusions.
Instructions
List content items in a hub profile with cursor-based pagination.
workspace_id: target workspace ID — get available IDs from list_workspaces()
types: ["Content"], ["Collection"], or None for both (default)
Returns {"items": [...], "cursor": "..." | null}
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": {
"hub_profile_id": "<hub_profile_id>",
"workspace_id": "<workspace_id>"
},
"name": "list_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | ||
| cursor | No | ||
| page_size | No | ||
| workspace_id | Yes | ||
| only_archived | No | ||
| hub_profile_id | Yes | ||
| exclude_contents | No | ||
| exclude_categories | No | ||
| exclude_collections | No |