sis__UpdateVocabulary
Updates an existing SIS hot word vocabulary by ID with new name, language, description, and word contents, returning the vocabulary ID on success.
Instructions
[SIS] 更新一个热词表,更新成功返回id。
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": {
"contents": "<contents>",
"language": "<language>",
"name": "<name>",
"project_id": "<project_id>",
"vocabulary_id": "<vocabulary_id>"
},
"name": "sis__UpdateVocabulary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 热词表名,不可重复。内容限制为字母,数字,下中划线和井号,长度不超过32字节。 | |
| contents | Yes | 支持中英混编热词,单个热词只能由英文字母和unicode编码的汉字组成,不能有其他符号,包括空格。 | |
| language | Yes | 热词表语言类型。 | chinese_mandarin |
| project_id | Yes | 来自公有云的Project ID,用于资源隔离。 | |
| description | No | 热词表描述,长度不超过255字节。 | |
| vocabulary_id | Yes | 被更新的热词表id。 |