resource_style_add
Add or overwrite a game localization style rule keyed by aspect and scope, so tone, dialogue, forbidden terms, and naming stay consistent across translated content.
Instructions
新增/覆盖一条风格要求(按 aspect + scope 定键)
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": {
"aspect": "<aspect>",
"value": "<value>"
},
"name": "resource_style_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 备注 | |
| scope | No | 作用域:global / character:X / scene:X / unit:X / region:X | |
| value | Yes | 要求本身 | |
| aspect | Yes | 风格维度:tone / dialogue / forbidden / naming … | |
| project | No | 游戏项目根目录(默认当前目录) | |
| workdir | No | 工作区目录,默认 <项目>/.gametrans | |
| priority | No | 优先级(越大越先注入) |