Call this server's tools from your browser. Nothing to install.
Your FAS API key from https://faslocalize.com/developers, sent as a Bearer token. The Free plan covers audits.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Check existing translations into Vietnamese against the FAS rule set: diacritics and spelling, placeholders and markup, numbers and dates, terminology, punctuation, capitalisation, length and consistency. Returns a verdict and the issues of each segment with rule ids, severity, the text found and a suggestion. Works on every plan, including Free; usage counts source plus target characters. Up to 200 segments per call.
1 to 200 source/target pairs.
Vietnamese style preferences.
Only these layers (default: all).
Terms with their required translations.
Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo.
Language of the source texts (default en).
Language of the translations (default vi).
Also run the model-judged checks (at most 50 segments). This is a paid model call; the rule checks alone are not.
Most issues returned per segment (default 20).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http vietnamese-api https://mcp.faslocalize.com/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Your FAS API key from https://faslocalize.com/developers, sent as a Bearer token. The Free plan covers audits.Check existing translations into Vietnamese against the FAS rule set: diacritics and spelling, placeholders and markup, numbers and dates, terminology, punctuation, capitalisation, length and consistency. Returns a verdict and the issues of each segment with rule ids, severity, the text found and a suggestion. Works on every plan, including Free; usage counts source plus target characters. Up to 200 segments per call.
| Argument | Type | Description |
|---|---|---|
| style | object | Vietnamese style preferences. |
| layers | array | Only these layers (default: all). |
| glossary | array | Terms with their required translations. |
| profiles | array | Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo. |
| segments* | array | 1 to 200 source/target pairs. |
| sourceLang | string | Language of the source texts (default en). |
| targetLang | string | Language of the translations (default vi). |
| modelChecks | boolean | Also run the model-judged checks (at most 50 segments). This is a paid model call; the rule checks alone are not. |
| maxIssuesPerSegment | integer | Most issues returned per segment (default 20). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"segments"
],
"properties": {
"style": {
"type": "object",
"properties": {
"region": {
"enum": [
"north",
"south",
"neutral"
],
"type": "string"
},
"address": {
"enum": [
"bạn",
"quý vị",
"quý khách",
"anh/chị",
"auto"
],
"type": "string",
"description": "How to address the reader."
},
"register": {
"enum": [
"formal",
"neutral",
"casual",
"administrative",
"journalistic",
"academic"
],
"type": "string"
},
"titleCase": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
},
"dateFormat": {
"enum": [
"dd/mm/yyyy",
"iso",
"long-vi"
],
"type": "string"
},
"unitPolicy": {
"enum": [
"keep",
"convert"
],
"type": "string"
},
"numberFormat": {
"enum": [
"vi",
"vi-dot",
"vi-space",
"intl"
],
"type": "string"
},
"toneMarkStyle": {
"enum": [
"old",
"new",
"consistent"
],
"type": "string",
"description": "Tone mark placement (hòa or hoà)."
},
"titleCaseButtons": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
}
},
"description": "Vietnamese style preferences.",
"additionalProperties": false
},
"layers": {
"type": "array",
"items": {
"enum": [
"L0",
"L1",
"L2",
"L3",
"L4",
"L5"
],
"type": "string"
},
"maxItems": 6,
"description": "Only these layers (default: all)."
},
"glossary": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"dnt": {
"type": "boolean",
"description": "Do not translate: keep the source term."
},
"source": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"target": {
"type": "string",
"maxLength": 200
},
"forbidden": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 10,
"description": "Translations that must not be used."
},
"caseSensitive": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 200,
"description": "Terms with their required translations."
},
"profiles": {
"type": "array",
"items": {
"enum": [
"admin-doc",
"dtp-layout",
"contract-legal",
"notarized",
"label-packaging",
"advertising-marketing",
"corporate-naming",
"finance-accounting",
"media-publishing",
"av-subtitle",
"education-academic",
"gaming",
"gov-formal",
"ui-strings",
"web-seo"
],
"type": "string"
},
"maxItems": 15,
"description": "Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"source",
"target"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"minLength": 1,
"description": "Your id for the segment (1 to 200 characters), echoed in the result."
},
"source": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"description": "The source text."
},
"target": {
"type": "string",
"maxLength": 10000,
"description": "The existing translation to check."
},
"context": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"description": "The string key in your project, e.g. checkout.pay_button."
},
"notes": {
"type": "string",
"maxLength": 1000,
"description": "Notes for the translator or reviewer."
},
"component": {
"enum": [
"button",
"title",
"heading",
"label",
"body",
"answer",
"input-hint",
"error",
"email",
"push",
"seo-title",
"seo-meta",
"slug",
"subtitle",
"legal",
"status",
"question",
"permission",
"unknown"
],
"type": "string",
"description": "What kind of UI or document element this is."
},
"maxLength": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Maximum length of the translation in characters."
},
"pluralCategory": {
"enum": [
"zero",
"one",
"two",
"few",
"many",
"other"
],
"type": "string"
}
},
"description": "Optional context that sharpens the checks.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1,
"description": "1 to 200 source/target pairs."
},
"sourceLang": {
"type": "string",
"default": "en",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2,
"description": "Language of the source texts (default en)."
},
"targetLang": {
"type": "string",
"default": "vi",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2,
"description": "Language of the translations (default vi)."
},
"modelChecks": {
"type": "boolean",
"default": false,
"description": "Also run the model-judged checks (at most 50 segments). This is a paid model call; the rule checks alone are not."
},
"maxIssuesPerSegment": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Most issues returned per segment (default 20)."
}
},
"additionalProperties": false
}Cancel a translation job. Segments already translated are kept (get_translation_job returns them) and the characters of the rest are given back. Cancelling a job that has already ended changes nothing.
| Argument | Type | Description |
|---|---|---|
| jobId* | string | The job id returned by create_translation_job. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"pattern": "^job_[0-9A-HJKMNP-TV-Z]{26}$",
"description": "The job id returned by create_translation_job."
}
},
"additionalProperties": false
}Start an asynchronous translation job for up to 500 texts. Returns a job id at once; poll get_translation_job for progress and the translations. Source characters are charged when the job is created; a job that is cancelled or fails gives back the characters it did not translate. Needs a paid plan. An identical request repeated within 24 hours returns the same job.
| Argument | Type | Description |
|---|---|---|
| guide | string | |
| style | object | Vietnamese style preferences. |
| glossary | array | Terms with their required translations. |
| profiles | array | Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo. |
| segments* | array | 1 to 500 texts to translate. |
| sourceLang | string | |
| targetLang | string | vi (default), or a beta target your key is enabled for (see list_targets). |
| idempotencyKey | string | Optional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run. |
| useTranslationMemory | boolean |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"segments"
],
"properties": {
"guide": {
"type": "string",
"maxLength": 2000
},
"style": {
"type": "object",
"properties": {
"region": {
"enum": [
"north",
"south",
"neutral"
],
"type": "string"
},
"address": {
"enum": [
"bạn",
"quý vị",
"quý khách",
"anh/chị",
"auto"
],
"type": "string",
"description": "How to address the reader."
},
"register": {
"enum": [
"formal",
"neutral",
"casual",
"administrative",
"journalistic",
"academic"
],
"type": "string"
},
"titleCase": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
},
"dateFormat": {
"enum": [
"dd/mm/yyyy",
"iso",
"long-vi"
],
"type": "string"
},
"unitPolicy": {
"enum": [
"keep",
"convert"
],
"type": "string"
},
"numberFormat": {
"enum": [
"vi",
"vi-dot",
"vi-space",
"intl"
],
"type": "string"
},
"toneMarkStyle": {
"enum": [
"old",
"new",
"consistent"
],
"type": "string",
"description": "Tone mark placement (hòa or hoà)."
},
"titleCaseButtons": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
}
},
"description": "Vietnamese style preferences.",
"additionalProperties": false
},
"glossary": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"dnt": {
"type": "boolean",
"description": "Do not translate: keep the source term."
},
"source": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"target": {
"type": "string",
"maxLength": 200
},
"forbidden": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 10,
"description": "Translations that must not be used."
},
"caseSensitive": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 200,
"description": "Terms with their required translations."
},
"profiles": {
"type": "array",
"items": {
"enum": [
"admin-doc",
"dtp-layout",
"contract-legal",
"notarized",
"label-packaging",
"advertising-marketing",
"corporate-naming",
"finance-accounting",
"media-publishing",
"av-subtitle",
"education-academic",
"gaming",
"gov-formal",
"ui-strings",
"web-seo"
],
"type": "string"
},
"maxItems": 15,
"description": "Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"source"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"minLength": 1,
"description": "Your id for the segment (1 to 200 characters), echoed in the result."
},
"source": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"context": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"description": "The string key in your project, e.g. checkout.pay_button."
},
"notes": {
"type": "string",
"maxLength": 1000,
"description": "Notes for the translator or reviewer."
},
"component": {
"enum": [
"button",
"title",
"heading",
"label",
"body",
"answer",
"input-hint",
"error",
"email",
"push",
"seo-title",
"seo-meta",
"slug",
"subtitle",
"legal",
"status",
"question",
"permission",
"unknown"
],
"type": "string",
"description": "What kind of UI or document element this is."
},
"maxLength": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Maximum length of the translation in characters."
},
"pluralCategory": {
"enum": [
"zero",
"one",
"two",
"few",
"many",
"other"
],
"type": "string"
}
},
"description": "Optional context that sharpens the checks.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 500,
"minItems": 1,
"description": "1 to 500 texts to translate."
},
"sourceLang": {
"type": "string",
"default": "en",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2
},
"targetLang": {
"type": "string",
"default": "vi",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2,
"description": "vi (default), or a beta target your key is enabled for (see list_targets)."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[\\x21-\\x7e]{8,200}$",
"description": "Optional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run."
},
"useTranslationMemory": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}Get the status and progress of a translation job and, once it has finished parts, a page of its translated segments (offset, limit). pollAfterSeconds says when to look again while the job runs.
| Argument | Type | Description |
|---|---|---|
| jobId* | string | The job id returned by create_translation_job. |
| limit | integer | Translated segments per page. |
| offset | integer | First translated segment to return. |
| includeResult | boolean | Include translated segments when the job has them (default true). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"pattern": "^job_[0-9A-HJKMNP-TV-Z]{26}$",
"description": "The job id returned by create_translation_job."
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1,
"description": "Translated segments per page."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 100000,
"minimum": 0,
"description": "First translated segment to return."
},
"includeResult": {
"type": "boolean",
"default": true,
"description": "Include translated segments when the job has them (default true)."
}
},
"additionalProperties": false
}Show your plan, this month's usage (or another month's), the characters left and when the quota resets.
| Argument | Type | Description |
|---|---|---|
| period | string | A month as yyyymm (default: the current UTC month). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"period": {
"type": "string",
"pattern": "^\\d{4}(?:0[1-9]|1[0-2])$",
"description": "A month as yyyymm (default: the current UTC month)."
}
},
"additionalProperties": false
}List the source languages the FAS Vietnamese API translates and audits from. No API key needed.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}Browse the public catalogue of Vietnamese standards rules and checks that audits apply, with their citations. Filter by layer, profile, pack, bucket, detection method or severity, or look up the rule ids found in audit results. Results are paged (limit, offset). No API key needed.
| Argument | Type | Description |
|---|---|---|
| pack | array | Rule packs. |
| layer | array | Audit layers, L0 (integrity) to L5 (compliance). |
| limit | integer | |
| bucket | string | |
| detail | string | summary (default) or full (adds descriptions and examples). |
| offset | integer | |
| profile | array | Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo. |
| ruleIds | array | Only these rule ids (as returned in audit issues), e.g. viet-hoa-004. |
| severity | string | |
| detection | string | How the rule is checked. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"pack": {
"type": "array",
"items": {
"enum": [
"legal-contract",
"regulated-product",
"marketing-brand",
"gov-admin",
"media-av",
"academic-edu"
],
"type": "string"
},
"maxItems": 6,
"description": "Rule packs."
},
"layer": {
"type": "array",
"items": {
"enum": [
"L0",
"L1",
"L2",
"L3",
"L4",
"L5"
],
"type": "string"
},
"maxItems": 6,
"description": "Audit layers, L0 (integrity) to L5 (compliance)."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"bucket": {
"enum": [
"core",
"profile",
"lesson",
"integrity",
"equivalence",
"consistency"
],
"type": "string"
},
"detail": {
"enum": [
"summary",
"full"
],
"type": "string",
"default": "summary",
"description": "summary (default) or full (adds descriptions and examples)."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 100000,
"minimum": 0
},
"profile": {
"type": "array",
"items": {
"enum": [
"admin-doc",
"dtp-layout",
"contract-legal",
"notarized",
"label-packaging",
"advertising-marketing",
"corporate-naming",
"finance-accounting",
"media-publishing",
"av-subtitle",
"education-academic",
"gaming",
"gov-formal",
"ui-strings",
"web-seo"
],
"type": "string"
},
"maxItems": 15,
"description": "Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo."
},
"ruleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 64
},
"maxItems": 50,
"minItems": 1,
"description": "Only these rule ids (as returned in audit issues), e.g. viet-hoa-004."
},
"severity": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
},
"detection": {
"enum": [
"regex",
"heuristic",
"llm",
"bitext",
"checklist"
],
"type": "string",
"description": "How the rule is checked."
}
},
"additionalProperties": false
}List the target languages. Vietnamese is generally available; the other targets are in beta and only work for API keys enabled for them. Each target lists the source languages it accepts. No API key needed.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}Score translations into Vietnamese: a calibrated confidence from 0 to 1 and a review lane per item (AUTO: publish, QUICK: quick review, MUST: full review), with the reasons and any failed checks. Needs a plan that includes scoring. Up to 20 items per call.
| Argument | Type | Description |
|---|---|---|
| items* | array | 1 to 20 translations to score. |
| style | object | Vietnamese style preferences. |
| glossary | array | Terms with their required translations. |
| sourceLang | string | |
| targetLang | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"minLength": 1,
"description": "Your id for the segment (1 to 200 characters), echoed in the result."
},
"source": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"target": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"description": "The translation to score."
},
"context": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"description": "The string key in your project, e.g. checkout.pay_button."
},
"notes": {
"type": "string",
"maxLength": 1000,
"description": "Notes for the translator or reviewer."
},
"component": {
"enum": [
"button",
"title",
"heading",
"label",
"body",
"answer",
"input-hint",
"error",
"email",
"push",
"seo-title",
"seo-meta",
"slug",
"subtitle",
"legal",
"status",
"question",
"permission",
"unknown"
],
"type": "string",
"description": "What kind of UI or document element this is."
},
"maxLength": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Maximum length of the translation in characters."
},
"pluralCategory": {
"enum": [
"zero",
"one",
"two",
"few",
"many",
"other"
],
"type": "string"
}
},
"description": "Optional context that sharpens the checks.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "1 to 20 translations to score."
},
"style": {
"type": "object",
"properties": {
"region": {
"enum": [
"north",
"south",
"neutral"
],
"type": "string"
},
"address": {
"enum": [
"bạn",
"quý vị",
"quý khách",
"anh/chị",
"auto"
],
"type": "string",
"description": "How to address the reader."
},
"register": {
"enum": [
"formal",
"neutral",
"casual",
"administrative",
"journalistic",
"academic"
],
"type": "string"
},
"titleCase": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
},
"dateFormat": {
"enum": [
"dd/mm/yyyy",
"iso",
"long-vi"
],
"type": "string"
},
"unitPolicy": {
"enum": [
"keep",
"convert"
],
"type": "string"
},
"numberFormat": {
"enum": [
"vi",
"vi-dot",
"vi-space",
"intl"
],
"type": "string"
},
"toneMarkStyle": {
"enum": [
"old",
"new",
"consistent"
],
"type": "string",
"description": "Tone mark placement (hòa or hoà)."
},
"titleCaseButtons": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
}
},
"description": "Vietnamese style preferences.",
"additionalProperties": false
},
"glossary": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"dnt": {
"type": "boolean",
"description": "Do not translate: keep the source term."
},
"source": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"target": {
"type": "string",
"maxLength": 200
},
"forbidden": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 10,
"description": "Translations that must not be used."
},
"caseSensitive": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 200,
"description": "Terms with their required translations."
},
"sourceLang": {
"type": "string",
"default": "en",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2
},
"targetLang": {
"type": "string",
"default": "vi",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2
}
},
"additionalProperties": false
}Look up source texts in your account's translation memory and return the best matches (score 50 to 100, where 100 is the same source) with their stored translations. Up to 50 texts per call.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Matches per text, 1 to 10 (default 3). |
| texts* | array | 1 to 50 source texts to look up. |
| minMatch | integer | Lowest match score, 50 to 100 (default 75). |
| sourceLang | string | |
| targetLang | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"texts"
],
"properties": {
"limit": {
"type": "integer",
"default": 3,
"maximum": 10,
"minimum": 1,
"description": "Matches per text, 1 to 10 (default 3)."
},
"texts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 5000,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "1 to 50 source texts to look up."
},
"minMatch": {
"type": "integer",
"default": 75,
"maximum": 100,
"minimum": 50,
"description": "Lowest match score, 50 to 100 (default 75)."
},
"sourceLang": {
"type": "string",
"default": "en",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2
},
"targetLang": {
"type": "string",
"default": "vi",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2
}
},
"additionalProperties": false
}Translate up to 20 texts into Vietnamese in one call (at most 30,000 source characters), with an optional glossary, style settings and translation memory; every translation is checked by the rule set and flagged when it needs a human reviewer. Needs a paid plan. An identical request repeated within 24 hours returns the stored answer and is not billed again. For larger documents use create_translation_job.
| Argument | Type | Description |
|---|---|---|
| guide | string | A short free-text style guide. |
| style | object | Vietnamese style preferences. |
| glossary | array | Terms with their required translations. |
| profiles | array | Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo. |
| segments* | array | 1 to 20 texts, at most 30000 characters in total. |
| sourceLang | string | Language of the texts (default en). |
| idempotencyKey | string | Optional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run. |
| useTranslationMemory | boolean | Reuse approved translations from your translation memory (default true). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"segments"
],
"properties": {
"guide": {
"type": "string",
"maxLength": 2000,
"description": "A short free-text style guide."
},
"style": {
"type": "object",
"properties": {
"region": {
"enum": [
"north",
"south",
"neutral"
],
"type": "string"
},
"address": {
"enum": [
"bạn",
"quý vị",
"quý khách",
"anh/chị",
"auto"
],
"type": "string",
"description": "How to address the reader."
},
"register": {
"enum": [
"formal",
"neutral",
"casual",
"administrative",
"journalistic",
"academic"
],
"type": "string"
},
"titleCase": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
},
"dateFormat": {
"enum": [
"dd/mm/yyyy",
"iso",
"long-vi"
],
"type": "string"
},
"unitPolicy": {
"enum": [
"keep",
"convert"
],
"type": "string"
},
"numberFormat": {
"enum": [
"vi",
"vi-dot",
"vi-space",
"intl"
],
"type": "string"
},
"toneMarkStyle": {
"enum": [
"old",
"new",
"consistent"
],
"type": "string",
"description": "Tone mark placement (hòa or hoà)."
},
"titleCaseButtons": {
"enum": [
"first-syllable",
"per-word",
"sentence",
"preserve"
],
"type": "string"
}
},
"description": "Vietnamese style preferences.",
"additionalProperties": false
},
"glossary": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"dnt": {
"type": "boolean",
"description": "Do not translate: keep the source term."
},
"source": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"target": {
"type": "string",
"maxLength": 200
},
"forbidden": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 10,
"description": "Translations that must not be used."
},
"caseSensitive": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 200,
"description": "Terms with their required translations."
},
"profiles": {
"type": "array",
"items": {
"enum": [
"admin-doc",
"dtp-layout",
"contract-legal",
"notarized",
"label-packaging",
"advertising-marketing",
"corporate-naming",
"finance-accounting",
"media-publishing",
"av-subtitle",
"education-academic",
"gaming",
"gov-formal",
"ui-strings",
"web-seo"
],
"type": "string"
},
"maxItems": 15,
"description": "Domain profiles that add rules, e.g. ui-strings, contract-legal, web-seo."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"source"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"minLength": 1,
"description": "Your id for the segment (1 to 200 characters), echoed in the result."
},
"source": {
"type": "string",
"maxLength": 30000,
"minLength": 1,
"description": "Text to translate."
},
"context": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]*$",
"maxLength": 200,
"description": "The string key in your project, e.g. checkout.pay_button."
},
"notes": {
"type": "string",
"maxLength": 1000,
"description": "Notes for the translator or reviewer."
},
"component": {
"enum": [
"button",
"title",
"heading",
"label",
"body",
"answer",
"input-hint",
"error",
"email",
"push",
"seo-title",
"seo-meta",
"slug",
"subtitle",
"legal",
"status",
"question",
"permission",
"unknown"
],
"type": "string",
"description": "What kind of UI or document element this is."
},
"maxLength": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Maximum length of the translation in characters."
},
"pluralCategory": {
"enum": [
"zero",
"one",
"two",
"few",
"many",
"other"
],
"type": "string"
}
},
"description": "Optional context that sharpens the checks.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "1 to 20 texts, at most 30000 characters in total."
},
"sourceLang": {
"type": "string",
"default": "en",
"pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{1,8}){0,4}$",
"maxLength": 35,
"minLength": 2,
"description": "Language of the texts (default en)."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[\\x21-\\x7e]{8,200}$",
"description": "Optional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run."
},
"useTranslationMemory": {
"type": "boolean",
"default": true,
"description": "Reuse approved translations from your translation memory (default true)."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.