resource_deviation_add
Declare a translation deviation in game localization to permit approved exceptions to criteria, such as intentionally empty or rewritten text, with a reason.
Instructions
声明一条偏离:这条译文有意偏离判据的哪一条(默认不许,声明才放行)
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": {
"unit_id": "<unit_id>",
"kind": "<kind>"
},
"name": "resource_deviation_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | 谁拍的板:human / user / agent | agent |
| kind | Yes | 偏离种类:empty(有意留空)/ expression(经批准的表达式改写) | |
| reason | No | 为什么这是对的(人看得懂的一句话) | |
| project | No | 游戏项目根目录(默认当前目录) | |
| unit_id | Yes | 哪条译文(unit_id) | |
| workdir | No | 工作区目录,默认 <项目>/.gametrans |