add_subcontent
Link existing content items as subcontent within a collection section to build nested structures like lessons in a course. Specify parent content, section, and subcontent IDs to organize content hierarchically.
Instructions
Link existing content items as subcontent inside a collection section.
Subcontent is the nested content that lives inside a Collection — think
lessons inside a course, or chapters inside a module. A Content item
automatically becomes a Collection once it has at least one subcontent item.
workspace_id: target workspace ID — get available IDs from list_workspaces()
content_id: ID of the collection (the parent content item)
category_name: "Content" for nested content items, "Asset" for nested assets
section_id: ID of the section to add the subcontent into
(create a section first with create_content_section if needed)
subcontent_ids: list of content IDs to link as subcontent (one or more)
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": {
"content_id": "<content_id>",
"category_name": "<category_name>",
"section_id": "<section_id>",
"subcontent_ids": "<subcontent_ids>",
"workspace_id": "<workspace_id>"
},
"name": "add_subcontent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_id | Yes | ||
| section_id | Yes | ||
| workspace_id | Yes | ||
| category_name | Yes | ||
| subcontent_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |