file_add
Upload a file for translation by providing its file path and file name.
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": {
"file_path": "<file_path>",
"file_name": "<file_name>"
},
"name": "file_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 文件路径 | |
| file_name | Yes | 文件名 |