resource_term_import
Import term data from a JSONL file to replace a game's termbook exactly, handling line splits, merges, and batch renames while logging each change; dry-run previews changes.
Instructions
整份换上:让术语书最终恰好是这份 JSONL 里的几行 —— 拆行 / 合行 / 批量改名一次做完,每一步都进变更日志
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": {
"file": "<file>"
},
"name": "resource_term_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | 谁拍的板:human / user / agent | agent |
| why | No | 为什么这么改(记进变更日志) | |
| file | Yes | 那份 JSONL(形状同 termbook.jsonl:key / profile / constant / order / position) | |
| dry_run | No | 只报「会改成什么」,一个字节都不写 | |
| project | No | 游戏项目根目录(默认当前目录) | |
| workdir | No | 工作区目录,默认 <项目>/.gametrans |