create_language_variant
Create a language variant of an existing HubSpot page and link it to the source's multi-language group for automatic language switcher support. Supply translated copy via layout sections override.
Instructions
Create a language variant of an existing page, e.g. EN from a DE page.
The variant joins the source's multi-language group, so HubSpot's language switcher picks it up. Translate the copy yourself and pass it via layout_sections_override — this tool does not translate.
Args: source_id: source page ID. source_type: 'landing' or 'site'. target_language: ISO 639-1 code, e.g. 'en'. slug_override: explicit slug for the variant. layout_sections_override: translated module content to apply.
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": {
"source_id": "<source_id>",
"source_type": "<source_type>",
"target_language": "<target_language>"
},
"name": "create_language_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| source_type | Yes | ||
| slug_override | No | ||
| target_language | Yes | ||
| layout_sections_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||