textprocessing_create_style_guide
Creates a new style guide for the calling user's company. A style guide is the set of writing rules applied when the company's text is processed. This WRITES data: confirm the name and the rules with the user before calling. Names are not enforced unique, so calling twice creates two style guides. The new style guide is a Draft unless a status is given, and only Published style guides are actually applied. It becomes the company default only if isDefault is true AND its status is Published: a Draft is never the default, so a default request on a Draft is ignored. Setting isDefault true on a Published style guide makes it the default and clears whichever style guide was default before, so a company always has at most one default. To base it on a template, read the template with get_style_guide_template and pass its body as content. Language- or domain-specific variants are added separately with create_style_guide_variant.
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": {
"name": "<name>",
"content": "<content>"
},
"name": "textprocessing_create_style_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new style guide. Required and must not be blank; surrounding whitespace is trimmed. | |
| status | No | Status of the new style guide. Defaults to Draft. Only Published style guides are applied when processing text. See list_style_guide_statuses for the values. | Draft |
| content | Yes | The style guide body: the general writing rules, in plain text. Required and must not be blank. This is the fallback applied when no language/domain variant matches; add variants separately with create_style_guide_variant. | |
| isDefault | No | Whether to mark this as the company's default style guide, applied when no specific one is chosen. Defaults to false. Only takes effect when status is Published - it is ignored for a Draft. Setting it true makes this the default and clears whichever style guide was default before. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The style guide's ID. Pass it to get_style_guide to read the full body, or to the other TextUnited APIs. | |
| name | No | Human-readable name of the style guide. | |
| status | No | Whether the style guide is a Draft or Published. Only Published style guides are used when processing text. | |
| default | No | True when this is the company's default style guide, applied when no specific one is chosen. | |
| variantCount | No | How many variants this style guide has. Read the full style guide with get_style_guide to see them. |