| [ | |
| { | |
| "name": "list_sum", | |
| "description": "列表求和", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_avg", | |
| "description": "列表平均值", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_max", | |
| "description": "列表最大值", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_min", | |
| "description": "列表最小值", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_sort", | |
| "description": "列表排序", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| }, | |
| "reverse": { | |
| "type": "boolean", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_unique", | |
| "description": "去重", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums" | |
| ] | |
| } | |
| }, | |
| { | |
| "name": "list_count", | |
| "description": "统计某个元素出现次数", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "nums": { | |
| "type": "string", | |
| "discription":"" | |
| }, | |
| "value": { | |
| "type": "string", | |
| "discription":"" | |
| } | |
| }, | |
| "required": [ | |
| "nums", | |
| "value" | |
| ] | |
| } | |
| } | |
| ] |