textprocessing_create_style_guide_variant
Adds a new variant to a style guide of the calling user's company. A variant is the language- and domain-specific version of a style guide, so at least one of language or domain is required; the one left unset applies to any. A style guide cannot hold two variants for the same language/domain combination. Look identifiers up with list_languages and list_domains. This WRITES data: confirm the language, domain and body with the user before calling.
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": {
"styleGuideId": "<styleGuideId>",
"content": "<content>"
},
"name": "textprocessing_create_style_guide_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The variant body, in plain text. | |
| domainId | No | Terminology domain the variant applies to, as a domain ID from list_domains. Omit or null for any domain. The domain must belong to your company (list_domains returns only those). At least one of languageId or domainId is required. | |
| languageId | No | Language the variant applies to, as a TextUnited language ID from list_languages. Omit or null for any language. At least one of languageId or domainId is required. | |
| styleGuideId | Yes | ID of the style guide to add the variant to, as returned by list_style_guides. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The variant's ID. | |
| content | No | The variant body: the writing rules for this language and domain, in plain text. | |
| domainId | No | The terminology domain this variant applies to, as a domain ID (look it up with list_domains). Null means it applies to any domain. | |
| languageId | No | The language this variant applies to, as a TextUnited language ID (look it up with list_languages). Null means it applies to any language. | |
| languageCode | No | The language code this variant applies to, e.g. "EN-US". Null when the variant applies to any language. | |
| styleGuideId | No | ID of the style guide this variant belongs to. |