create_layer_content
Create new topics, specialists, or prompts in a BC Code Intelligence layer with correct frontmatter formatting for structured content management.
Instructions
Create a new topic, specialist, or prompt in a BC Code Intelligence layer with proper frontmatter formatting.
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": {
"layer_path": "<layer_path>",
"content_type": "<content_type>",
"name": "<name>",
"title": "<title>"
},
"name": "create_layer_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name/ID for the content (used in filename and identifiers) | |
| title | Yes | Display title for the content | |
| domain | No | For topics: domain folder name (e.g., "security", "performance") | |
| metadata | No | Additional metadata specific to content type | |
| layer_path | Yes | Absolute path to the layer | |
| content_type | Yes | Type of content to create |