Set a style guide
set_style_guideCreate or replace the style guide (free-text translation instructions) for one target language of a project, keyed by its project_language id (from get_project). You draft the instructions yourself, at most 60000 characters. A brand-new guide always marks that language's translation memory stale so future translations follow it; for an update, set recheckExistingTranslations to also re-check already-translated content (it defaults to off). When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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": {
"project": "<project>",
"projectLanguageId": "<projectLanguageId>",
"instructions": "<instructions>"
},
"name": "set_style_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project id (UUID) or slug | |
| instructions | Yes | The style-guide instructions for this language (max 60000 chars) | |
| projectLanguageId | Yes | Target project_language id the guide applies to (from get_project) | |
| recheckExistingTranslations | No | When updating an existing guide, also mark this language's translation memory stale (re-check existing translations). Defaults to false. A new guide always marks stale. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styleGuide | Yes |