• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "SendRedPacket",
3  "intentVersion": "1.0.1",
4  "llmDescription": "发红包",
5  "keywords": ["SendRedPacket"],
6  "domain": "ToolsDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "totalAmount",
12        "amount",
13        "packetNumber",
14        "type",
15        "remarks"
16      ]
17    },
18    "properties": {
19      "totalAmount": {
20        "description": "红包总金额。",
21        "type": "number"
22      },
23      "amount": {
24        "description": "单个红包金额。",
25        "type": "number"
26      },
27      "packetNumber": {
28        "description": "红包个数。",
29        "type": "number"
30      },
31      "type": {
32        "description": "Ordinary:普通红包。FightingLuck:拼手气红包。GoodLuck:好运红包。",
33        "type": "string",
34        "enum": [
35          "Ordinary",
36          "FightingLuck",
37          "GoodLuck"
38        ]
39      },
40      "remarks": {
41        "description": "红包祝福语。",
42        "type": "string"
43      }
44    }
45  },
46  "result": {
47    "type": "object",
48    "propertyNames": {
49      "enum": [
50        "code",
51        "result"
52      ]
53    },
54    "required": [
55      "code",
56      "result"
57    ],
58    "properties": {
59      "code": {
60        "description": "意图调用返回的结果码,0代表成功。",
61        "type": "number"
62      },
63      "result": {
64        "description": "意图调用返回的数据,如果无数据则返回空。",
65        "type": "object"
66      }
67    }
68  }
69}
70