Datasets:
Upload tools.json with huggingface_hub
Browse files- tools.json +136 -0
tools.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{"type": "function", "function": {
|
| 3 |
+
"name": "set_alarm",
|
| 4 |
+
"description": "Sets an alarm on the phone for a clock time. Use for wake-up alarms or any alarm at a specific time.",
|
| 5 |
+
"parameters": {"type": "object", "properties": {
|
| 6 |
+
"time": {"type": "string", "description": "Alarm time in 24-hour HH:MM format, e.g. 06:30 or 18:00"},
|
| 7 |
+
"label": {"type": "string", "description": "Optional name for the alarm, e.g. gym"},
|
| 8 |
+
"repeat": {"type": "string", "enum": ["daily", "weekdays", "weekends"], "description": "Optional repeat schedule"}
|
| 9 |
+
}, "required": ["time"]}}},
|
| 10 |
+
{"type": "function", "function": {
|
| 11 |
+
"name": "cancel_alarm",
|
| 12 |
+
"description": "Cancels, deletes or turns off alarms. Without a time it cancels all alarms.",
|
| 13 |
+
"parameters": {"type": "object", "properties": {
|
| 14 |
+
"time": {"type": "string", "description": "Time of the alarm to cancel in 24-hour HH:MM format. Omit to cancel all alarms."}
|
| 15 |
+
}, "required": []}}},
|
| 16 |
+
{"type": "function", "function": {
|
| 17 |
+
"name": "set_timer",
|
| 18 |
+
"description": "Starts a countdown timer for a duration.",
|
| 19 |
+
"parameters": {"type": "object", "properties": {
|
| 20 |
+
"duration_seconds": {"type": "integer", "description": "Timer duration in seconds, e.g. 300 for 5 minutes"},
|
| 21 |
+
"label": {"type": "string", "description": "Optional name for the timer, e.g. pasta"}
|
| 22 |
+
}, "required": ["duration_seconds"]}}},
|
| 23 |
+
{"type": "function", "function": {
|
| 24 |
+
"name": "get_current_datetime",
|
| 25 |
+
"description": "Returns the current local date, day of the week and time. Use when the user asks what time, day or date it is right now.",
|
| 26 |
+
"parameters": {"type": "object", "properties": {}, "required": []}}},
|
| 27 |
+
{"type": "function", "function": {
|
| 28 |
+
"name": "toggle_flashlight",
|
| 29 |
+
"description": "Turns the phone flashlight (torch) on or off.",
|
| 30 |
+
"parameters": {"type": "object", "properties": {
|
| 31 |
+
"state": {"type": "string", "enum": ["on", "off"], "description": "Desired flashlight state"}
|
| 32 |
+
}, "required": ["state"]}}},
|
| 33 |
+
{"type": "function", "function": {
|
| 34 |
+
"name": "set_volume",
|
| 35 |
+
"description": "Changes the phone media volume. Provide either an exact level or an action.",
|
| 36 |
+
"parameters": {"type": "object", "properties": {
|
| 37 |
+
"level": {"type": "integer", "description": "Exact volume level from 0 to 100"},
|
| 38 |
+
"action": {"type": "string", "enum": ["up", "down", "mute", "unmute"], "description": "Relative change or mute/unmute"}
|
| 39 |
+
}, "required": []}}},
|
| 40 |
+
{"type": "function", "function": {
|
| 41 |
+
"name": "set_brightness",
|
| 42 |
+
"description": "Changes the screen brightness. Provide either an exact level or an action.",
|
| 43 |
+
"parameters": {"type": "object", "properties": {
|
| 44 |
+
"level": {"type": "integer", "description": "Exact brightness level from 0 to 100"},
|
| 45 |
+
"action": {"type": "string", "enum": ["up", "down"], "description": "Make the screen brighter (up) or dimmer (down)"}
|
| 46 |
+
}, "required": []}}},
|
| 47 |
+
{"type": "function", "function": {
|
| 48 |
+
"name": "toggle_wifi",
|
| 49 |
+
"description": "Turns Wi-Fi on or off.",
|
| 50 |
+
"parameters": {"type": "object", "properties": {
|
| 51 |
+
"state": {"type": "string", "enum": ["on", "off"], "description": "Desired Wi-Fi state"}
|
| 52 |
+
}, "required": ["state"]}}},
|
| 53 |
+
{"type": "function", "function": {
|
| 54 |
+
"name": "toggle_bluetooth",
|
| 55 |
+
"description": "Turns Bluetooth on or off.",
|
| 56 |
+
"parameters": {"type": "object", "properties": {
|
| 57 |
+
"state": {"type": "string", "enum": ["on", "off"], "description": "Desired Bluetooth state"}
|
| 58 |
+
}, "required": ["state"]}}},
|
| 59 |
+
{"type": "function", "function": {
|
| 60 |
+
"name": "get_weather",
|
| 61 |
+
"description": "Gets the weather or forecast: temperature, rain, hot or cold, humidity. Location defaults to the user's current location.",
|
| 62 |
+
"parameters": {"type": "object", "properties": {
|
| 63 |
+
"location": {"type": "string", "description": "City or place name. Omit for the user's current location."},
|
| 64 |
+
"date": {"type": "string", "description": "Day of the forecast as the user said it, e.g. tomorrow, saturday. Omit for today/now."}
|
| 65 |
+
}, "required": []}}},
|
| 66 |
+
{"type": "function", "function": {
|
| 67 |
+
"name": "create_calendar_event",
|
| 68 |
+
"description": "Creates a calendar event, meeting or appointment.",
|
| 69 |
+
"parameters": {"type": "object", "properties": {
|
| 70 |
+
"title": {"type": "string", "description": "Short event title"},
|
| 71 |
+
"date": {"type": "string", "description": "Event date as the user said it, e.g. tomorrow, next monday, 5 october"},
|
| 72 |
+
"time": {"type": "string", "description": "Start time in 24-hour HH:MM format"},
|
| 73 |
+
"duration_minutes": {"type": "integer", "description": "Optional event length in minutes"}
|
| 74 |
+
}, "required": ["title", "date"]}}},
|
| 75 |
+
{"type": "function", "function": {
|
| 76 |
+
"name": "set_reminder",
|
| 77 |
+
"description": "Creates a reminder to do something at a time, on a date, or after a delay.",
|
| 78 |
+
"parameters": {"type": "object", "properties": {
|
| 79 |
+
"text": {"type": "string", "description": "What to remind the user about"},
|
| 80 |
+
"date": {"type": "string", "description": "Date as the user said it, e.g. tomorrow, friday. Omit if not given."},
|
| 81 |
+
"time": {"type": "string", "description": "Clock time in 24-hour HH:MM format. Omit if not given."},
|
| 82 |
+
"delay_minutes": {"type": "integer", "description": "Remind after this many minutes from now, for requests like 'in 20 minutes'"}
|
| 83 |
+
}, "required": ["text"]}}},
|
| 84 |
+
{"type": "function", "function": {
|
| 85 |
+
"name": "send_message",
|
| 86 |
+
"description": "Sends a text message to a contact.",
|
| 87 |
+
"parameters": {"type": "object", "properties": {
|
| 88 |
+
"recipient": {"type": "string", "description": "Contact name as the user said it, e.g. mom, Rahul"},
|
| 89 |
+
"message": {"type": "string", "description": "The message body to send"},
|
| 90 |
+
"app": {"type": "string", "enum": ["sms", "whatsapp", "telegram"], "description": "Messaging app, only if the user names one"}
|
| 91 |
+
}, "required": ["recipient", "message"]}}},
|
| 92 |
+
{"type": "function", "function": {
|
| 93 |
+
"name": "make_call",
|
| 94 |
+
"description": "Places a phone call or video call to a contact or number.",
|
| 95 |
+
"parameters": {"type": "object", "properties": {
|
| 96 |
+
"contact": {"type": "string", "description": "Contact name or phone number"},
|
| 97 |
+
"video": {"type": "boolean", "description": "true for a video call. Omit for a normal voice call."}
|
| 98 |
+
}, "required": ["contact"]}}},
|
| 99 |
+
{"type": "function", "function": {
|
| 100 |
+
"name": "open_app",
|
| 101 |
+
"description": "Opens or launches an app on the phone.",
|
| 102 |
+
"parameters": {"type": "object", "properties": {
|
| 103 |
+
"app_name": {"type": "string", "description": "Name of the app, e.g. Instagram, Camera, Settings"}
|
| 104 |
+
}, "required": ["app_name"]}}},
|
| 105 |
+
{"type": "function", "function": {
|
| 106 |
+
"name": "play_music",
|
| 107 |
+
"description": "Starts playing music: a song, artist, album, genre, playlist or mood.",
|
| 108 |
+
"parameters": {"type": "object", "properties": {
|
| 109 |
+
"query": {"type": "string", "description": "What to play, e.g. Arijit Singh, lofi, Bohemian Rhapsody. Omit for any music."}
|
| 110 |
+
}, "required": []}}},
|
| 111 |
+
{"type": "function", "function": {
|
| 112 |
+
"name": "media_control",
|
| 113 |
+
"description": "Controls the media that is currently playing: pause, resume, skip to next, go to previous, or stop.",
|
| 114 |
+
"parameters": {"type": "object", "properties": {
|
| 115 |
+
"action": {"type": "string", "enum": ["pause", "resume", "next", "previous", "stop"], "description": "Playback action"}
|
| 116 |
+
}, "required": ["action"]}}},
|
| 117 |
+
{"type": "function", "function": {
|
| 118 |
+
"name": "navigate_to",
|
| 119 |
+
"description": "Starts map navigation or directions to a destination.",
|
| 120 |
+
"parameters": {"type": "object", "properties": {
|
| 121 |
+
"destination": {"type": "string", "description": "Place or address to go to"},
|
| 122 |
+
"mode": {"type": "string", "enum": ["driving", "walking", "transit", "cycling"], "description": "Travel mode, only if the user says it"}
|
| 123 |
+
}, "required": ["destination"]}}},
|
| 124 |
+
{"type": "function", "function": {
|
| 125 |
+
"name": "web_search",
|
| 126 |
+
"description": "Searches the web for information: facts, news, scores, prices, definitions, recipes, how-to questions, time in other cities.",
|
| 127 |
+
"parameters": {"type": "object", "properties": {
|
| 128 |
+
"query": {"type": "string", "description": "Concise search query"}
|
| 129 |
+
}, "required": ["query"]}}},
|
| 130 |
+
{"type": "function", "function": {
|
| 131 |
+
"name": "take_note",
|
| 132 |
+
"description": "Saves a note with the given content.",
|
| 133 |
+
"parameters": {"type": "object", "properties": {
|
| 134 |
+
"content": {"type": "string", "description": "Text of the note"}
|
| 135 |
+
}, "required": ["content"]}}}
|
| 136 |
+
]
|