SPIEval / data /tools.json
holmesye
init data
a297026
Raw
History Blame Contribute Delete
37.7 kB
[
{
"type": "function",
"function": {
"name": "search_contacts",
"description": "在通讯录中搜索联系人记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'姓名'、'电话号码'、'公司'、'电子邮件'、'住址'、'生日'、'身份证号'、'与本人关系'、'备注'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_voicemail",
"description": "在语音留言中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'来电姓名'、'来电号码'、'日期'、'时间'、'留言内容'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_sms",
"description": "在短信中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'发件人姓名'、'发件人电话号码'、'收件人姓名'、'收件人电话号码'、'日期'、'时间'、'正文'、'附件'、'状态'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_notes",
"description": "在便签中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'标题'、'内容'、'创建日期'、'创建时间'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_alarm",
"description": "在闹钟中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'时间'、'重复'、'闹钟名'、'响铃时长(分钟)'、'重复响铃次数'、'响铃间隔时间(分钟)'、'状态'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_meeting",
"description": "在会议中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'标题'、'开始日期'、'结束日期'、'开始时间'、'结束时间'、'提醒时间'、'重复'、'参会人'、'会议号'、'地点'、'会议纪要'、'状态'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_schedule",
"description": "在日程中搜索记录。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'标题'、'日期'、'开始时间'、'结束时间'、'提醒时间'、'重复'、'地点'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_transport",
"description": "在交通记录中搜索。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'日期'、'出发时间'、'(预计)到达时间'、'出发地'、'目的地'、'交通方式'、'联系人'、'联系方式'、'(预计)费用'、'状态'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_accommodation",
"description": "在住宿记录中搜索。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'住宿地点'、'入住日期'、'退宿日期'、'房型'、'数量'、'联系人'、'联系方式'、'费用'、'状态'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_transaction",
"description": "在交易记录中搜索。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名。可选字段:'项目'、'金额'、'日期'、'时间'、'付款人'、'付款账号'、'收款人'、'收款账号'、'备注'。不指定则搜索所有字段。"
},
"mode": {
"type": "string",
"description": "匹配模式。fixed:子串包含匹配(默认);regex:正则表达式匹配;fuzzy:模糊相似度匹配。",
"enum": [
"fixed",
"regex",
"fuzzy"
]
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "search_phone",
"description": "全局搜索手机中所有应用的记录。使用子串包含匹配,搜索所有字段。可指定field缩小搜索范围。每页返回5条结果,可通过page参数翻页。",
"parameters": {
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "搜索内容。"
},
"field": {
"type": "string",
"description": "指定搜索的字段名(可选)。不指定则搜索所有字段。不同应用的可用字段不同,常见字段包括:'姓名'、'电话号码'、'与本人关系'、'备注'、'正文'、'留言内容'、'标题'、'内容'等。"
},
"ignore_case": {
"type": "boolean",
"description": "是否忽略大小写,默认为true。"
},
"page": {
"type": "integer",
"description": "返回第几页结果,每页最多5条。默认为1。"
}
},
"required": [
"pattern"
]
}
}
},
{
"type": "function",
"function": {
"name": "Contacts_Create",
"description": "新建一个联系人,并保存到手机通讯录中。",
"parameters": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "联系人的姓名。"
},
"telephone": {
"type": "string",
"description": "联系人的电话号码。"
},
"company": {
"type": "string",
"description": "联系人的公司名称。"
},
"email": {
"type": "string",
"description": "联系人的电子邮件地址。"
},
"address": {
"type": "string",
"description": "联系人的地址。"
},
"birthday": {
"type": "string",
"description": "联系人的生日。"
},
"identifyCard": {
"type": "string",
"description": "联系人的身份证号码。"
},
"relationship": {
"type": "string",
"description": "联系人与本人的关系。"
},
"note": {
"type": "string",
"description": "为联系人添加的备注信息。"
}
},
"required": [
"name",
"telephone"
]
}
}
},
{
"type": "function",
"function": {
"name": "Phone_Call",
"description": "给某个电话号码打电话,支持语音电话和视频电话两种类型。",
"parameters": {
"type": "object",
"properties": {
"telephone": {
"type": "string",
"description": "需要拨打的电话号码。"
},
"type": {
"type": "string",
"description": "电话类型,枚举值:- VOICE 语音电话 - VIDEO 视频电话,默认为VOICE",
"enum": [
"VOICE",
"VIDEO"
]
}
},
"required": [
"telephone"
]
}
}
},
{
"type": "function",
"function": {
"name": "Messages_Send",
"description": "向某个电话号码发送短信,包括正文和附件。",
"parameters": {
"type": "object",
"properties": {
"telephone": {
"type": "string",
"description": "需要接受短信的电话号码。"
},
"text": {
"type": "string",
"description": "需要发送的短信正文,仅支持文本信息。"
},
"attach": {
"type": "array",
"description": "需要发送的短信附件,通过指定文件路径发送,最多支持同时发送10个附件。",
"items": {
"type": "string",
"description": "文件路径。"
}
}
},
"required": [
"telephone",
"text"
]
}
}
},
{
"type": "function",
"function": {
"name": "TodoList_Create",
"description": "新建一个待办事项。",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "待办事项的内容。"
},
"date": {
"type": "string",
"description": "待办事项的具体日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)"
},
"time": {
"type": "string",
"description": "待办事项的开始时间,时间格式为HH:MM(例如:'14:30'表示下午2点30分)"
}
},
"required": [
"content",
"date",
"time"
]
}
}
},
{
"type": "function",
"function": {
"name": "Clock_CreateAlarm",
"description": "创建闹钟,支持设置闹钟的触发时间、重复规则等属性",
"parameters": {
"type": "object",
"properties": {
"time": {
"type": "string",
"description": "闹钟触发的具体时间(24小时内的时间,不包含日期),格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)。"
},
"repeatDayOfWeek": {
"type": "array",
"description": "重复规则,类型为数组,用于指定闹钟在哪天重复触发。数字1到7分别表示每个星期一到星期日重复,数字0表示不重复。默认不重复。",
"items": {
"type": "integer",
"description": "重复规则。数字1到7分别表示星期一到星期日,数字0表示不重复。",
"enum": [
1,
2,
3,
4,
5,
6,
7,
0
]
}
},
"name": {
"type": "string",
"description": "闹钟名称,默认为“闹钟”。"
},
"alarmDuration": {
"type": "integer",
"description": "响铃时长(分钟),可以是1分钟,3分钟,5分钟,10分钟。默认为3分钟。",
"enum": [
1,
3,
5,
10
]
},
"alarmCount": {
"type": "integer",
"description": "重复响铃次数,可以是1次,3次,5次,10次。默认为1次。",
"enum": [
1,
3,
5,
10
]
},
"alarmInterval": {
"type": "integer",
"description": "响铃间隔(分钟),可以是5-30分钟。默认为5分钟。",
"enum": [
5,
10,
15,
20,
25,
30
]
}
},
"required": [
"time"
]
}
}
},
{
"type": "function",
"function": {
"name": "Schedule_Create",
"description": "新建一个日程。",
"parameters": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "日程触发的具体日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)"
},
"title": {
"type": "string",
"description": "日程的标题,用于标识日程的主题。默认为“无主题”。"
},
"timeStart": {
"type": "string",
"description": "日程开始的具体时间,时间格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)"
},
"timeEnd": {
"type": "string",
"description": "日程结束的具体时间,时间格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)"
},
"timeRemind": {
"type": "string",
"description": "日程提醒的时间。默认为10分钟前。",
"enum": [
"准时",
"10分钟前",
"30分钟前",
"1小时前",
"1天前",
"1周前"
]
},
"repeat": {
"type": "string",
"description": "日程重复规则。默认为不重复。",
"enum": [
"不重复",
"每天",
"每周",
"每月",
"每年"
]
},
"location": {
"type": "string",
"description": "日程的地点。默认为“无”。"
}
},
"required": [
"date",
"timeStart",
"timeEnd"
]
}
}
},
{
"type": "function",
"function": {
"name": "Meeting_Create",
"description": "预订会议,支持设置时间、地点、参与人、会议主题等信息",
"parameters": {
"type": "object",
"properties": {
"dateStart": {
"type": "string",
"description": "会议的开始日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)"
},
"dateEnd": {
"type": "string",
"description": "会议的结束日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)"
},
"timeStart": {
"type": "string",
"description": "会议的开始时间,时间格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)"
},
"timeEnd": {
"type": "string",
"description": "会议的结束时间,时间格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)"
},
"timeRemind": {
"type": "string",
"description": "会议提醒的时间。默认为10分钟前。",
"enum": [
"准时",
"10分钟前",
"30分钟前",
"1小时前",
"1天前",
"1周前"
]
},
"title": {
"type": "string",
"description": "会议的主题。默认为“无主题”。"
},
"repeat": {
"type": "string",
"description": "会议重复规则。默认为不重复。",
"enum": [
"不重复",
"每天",
"每周",
"每两周"
]
},
"location": {
"type": "array",
"description": "会议的地点。",
"items": {
"type": "string",
"description": "地点名称。默认为“无”。"
}
},
"participants": {
"type": "array",
"description": "会议的参与者,默认已包含自己,只需要填写其他仍需加入的用户即可。",
"items": {
"type": "string",
"description": "会议除自己外的参与者姓名,可以是昵称。"
}
}
},
"required": [
"dateStart",
"dateEnd",
"timeStart",
"timeEnd"
]
}
}
},
{
"type": "function",
"function": {
"name": "Transport_Create",
"description": "创建一个交通信息。",
"parameters": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "出发日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)。202"
},
"time": {
"type": "string",
"description": "出发时间,时间格式为HH:MM:SS(例如:'14:30:00'表示下午2点30分)。如果是现在出发,可以输入'now'。"
},
"start": {
"type": "string",
"description": "出发地。打车时如果是当前位置,可以输入'current'。"
},
"end": {
"type": "string",
"description": "目的地。"
},
"passenger": {
"type": "array",
"description": "乘车人。",
"items": {
"type": "string",
"description": "乘车人姓名。"
}
},
"telephone": {
"type": "string",
"description": "乘车人联系电话。"
},
"transportType": {
"type": "string",
"description": "交通方式。",
"enum": [
"汽车",
"火车",
"飞机"
]
}
},
"required": [
"date",
"time",
"start",
"end",
"passenger",
"telephone",
"transportType"
]
}
}
},
{
"type": "function",
"function": {
"name": "Accommodation_Create",
"description": "创建一个住宿信息。",
"parameters": {
"type": "object",
"properties": {
"dateCheckIn": {
"type": "string",
"description": "入住日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)。"
},
"dateCheckOut": {
"type": "string",
"description": "退宿日期,日期格式为YYYY-MM-DD(例如:'2025-05-20'表示2025年5月20日)。"
},
"location": {
"type": "string",
"description": "住宿地点。"
},
"roomType": {
"type": "string",
"description": "房间类型。"
},
"num": {
"type": "integer",
"description": "房间数量,默认为1。"
},
"people": {
"type": "array",
"description": "入住人。",
"items": {
"type": "string",
"description": "入住人姓名。"
}
},
"telephone": {
"type": "string",
"description": "联系电话。"
}
},
"required": [
"dateCheckIn",
"dateCheckOut",
"location",
"people",
"telephone"
]
}
}
},
{
"type": "function",
"function": {
"name": "Consumption_Create",
"description": "向他人付款。",
"parameters": {
"type": "object",
"properties": {
"item": {
"type": "string",
"description": "付款条目,如转账、购物等。"
},
"amount": {
"type": "number",
"description": "交易金额,精确到小数点后两位。"
},
"receivingName": {
"type": "string",
"description": "收款人。"
},
"receivingAccount": {
"type": "string",
"description": "收款账户。"
},
"note": {
"type": "string",
"description": "备注。"
}
},
"required": [
"item",
"amount",
"receivingName",
"receivingAccount"
]
}
}
}
]