Save a content draft
create_contentCreate a new content piece for a project or create a new version of existing content. Useful for content writing, content refreshment, and creating landing pages. If only contentId is provided, creates a new version with the current active version's content. If contentId and content are provided, creates a new version with the provided markdown content. If content (markdown) is provided without contentId, creates new content with that content (requires keyword and serpLocationId). Otherwise, scrapes and creates blank content (requires keyword and serpLocationId). IMPORTANT: The response includes an editorUrl field - this is a direct link to open the content in the editor. Always include the editorUrl as a clickable markdown link in your response immediately after creating content. Format: Open in Editor.
Creates saved content/version state, not a live CMS publication. Inspect get_contents first to decide between a new item and an existing item's version; publish_content is a separate action.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to analyze and create content from (only used when creating new content, not for versions) | |
| title | No | Optional content title. When provided, it updates the content title and is stored on new active versions. | |
| content | No | Markdown content. If provided with contentId, creates a new version. If provided without contentId, creates new content with this content. | |
| context | No | User task for usage analytics. Omit private details. | |
| keyword | No | The main keyword for the content (required when creating new content, not needed when only contentId is provided) | |
| imageUrl | No | Optional featured image URL. When provided, it is saved onto the content record and reused by publish flows. | |
| contentId | No | Optional content ID. If provided alone, creates a new version with the current active version's content. If provided with content, creates a new version with the provided markdown content. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| projectId | No | Project ID from list_projects. Omit to use the configured or sole accessible project. | |
| serpLocationId | No | Search locale ID from get_serp_locations. Required for a new content item; omit when creating a version of an existing contentId. | |
| fullDescription | No | Optional full content description. It is preserved without truncation on the content record and active version. | |
| metaDescription | No | Optional short SEO meta description. It is normalized and truncated to 80 characters with an ellipsis when necessary. | |
| internalLinkingMode | No | Optional internal linking mode. Use 'auto_conservative' to auto-insert a limited set of high-confidence internal links. | |
| preferredLanguageCode | No | Language used for the Google SERP results and NLP analysis when creating new content. | |
| autoLinkConfidenceThreshold | No | Optional confidence threshold from 0 to 1 for auto internal links (default 0.82 when internalLinkingMode is 'auto_conservative'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Saved content ID, initial version ID and editor link. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |