kingdee_search_fields
Search Kingdee form metadata by Chinese field name to return field keys, labels, entities, required status, lookup targets, and tables for building WebAPI payloads or bill creation.
Instructions
中文 → 字段 key:按中文名在表单元数据里搜字段(自然语言建单的翻译第一步)。
用户说"添加销售订单,客户、数量、日期",本工具把中文翻译成 WebAPI 字段: 返回每个命中的 {字段key, 中文名, 所在单据体, 是否必填, 参照对象, 表名}。 参照字段(lookup_form 非空)需要填编码 {"FNumber": "..."},编码可用 kingdee_find_code 按中文名查得;非参照字段直接填值。
数据来源:QueryBusinessInfo 元数据(Fields[].Name 多语言 2052),非人工字典。
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": {
"params": "<params>"
},
"name": "kingdee_search_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |