Download tools.json from DibaAi/llmOS: direct link, hf CLI and curl.
- Browser
- Download file 5.83 kB
-
https://huggingface.co/DibaAi/llmOS/resolve/main/tools.json
- Command line
-
hf download hf://DibaAi/llmOS/tools.json
-
curl -L -o tools.json https://huggingface.co/DibaAi/llmOS/resolve/main/tools.json
5.83 kB
| { | |
| "version": 1, | |
| "tools": [ | |
| { | |
| "name": "notify.send", | |
| "title": "اطلاع بده", | |
| "description": "یک پیام به وبهوک شما میفرستد", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [ | |
| { "name": "text", "description": "متن پیام", "required": true } | |
| ], | |
| "phrases": ["پیام بده", "خبرم کن", "اطلاع بده", "notify me"], | |
| "execute": { | |
| "method": "POST", | |
| "url": "http://192.168.1.50:8123/api/webhook/llmos", | |
| "body": "{\"message\":\"{text}\"}", | |
| "timeout_ms": 5000 | |
| }, | |
| "reply": { | |
| "fa": "پیام فرستاده شد.", | |
| "on_error": "پیام فرستاده نشد." | |
| } | |
| }, | |
| { | |
| "name": "weather.get", | |
| "title": "آب و هوا", | |
| "description": "دما و رطوبت یک شهر را گزارش میکند", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [ | |
| { "name": "city", "description": "نام شهر", "required": true } | |
| ], | |
| "phrases": ["هوا چطوره", "آب و هوا", "دما چنده", "هوای", "weather"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://wttr.in/{city}?format=j1", | |
| "timeout_ms": 12000, | |
| "extract": { | |
| "temp": "current_condition.0.temp_C", | |
| "feels": "current_condition.0.FeelsLikeC", | |
| "humidity": "current_condition.0.humidity" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "دمای {city} {temp} درجه است، احساس میشود {feels} درجه. رطوبت {humidity} درصد.", | |
| "on_error": "نتوانستم وضعیت هوای {city} را بگیرم." | |
| } | |
| }, | |
| { | |
| "name": "air.quality", | |
| "title": "کیفیت هوا", | |
| "description": "شاخص کیفیت هوا و ذرات معلق", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [], | |
| "phrases": ["کیفیت هوا", "هوا آلوده", "آلودگی هوا", "شاخص هوا", "air quality"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://air-quality-api.open-meteo.com/v1/air-quality?latitude=35.69&longitude=51.42¤t=pm2_5,european_aqi", | |
| "timeout_ms": 8000, | |
| "extract": { | |
| "aqi": "current.european_aqi", | |
| "pm25": "current.pm2_5" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "شاخص کیفیت هوا {aqi} است و ذرات معلق ۲.۵ برابر {pm25} میکروگرم.", | |
| "on_error": "کیفیت هوا را نتوانستم بگیرم." | |
| } | |
| }, | |
| { | |
| "name": "sun.times", | |
| "title": "طلوع و غروب", | |
| "description": "ساعت طلوع و غروب آفتاب", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [], | |
| "phrases": ["طلوع و غروب", "غروب کیه", "آفتاب کی غروب میکنه", "طلوع آفتاب", "sunset"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://api.sunrise-sunset.org/json?lat=35.69&lng=51.42&formatted=0&tzid=Asia/Tehran", | |
| "timeout_ms": 8000, | |
| "extract": { | |
| "sunrise": "results.sunrise|11:5", | |
| "sunset": "results.sunset|11:5" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "طلوع {sunrise} و غروب {sunset}.", | |
| "on_error": "ساعت طلوع و غروب را نگرفتم." | |
| } | |
| }, | |
| { | |
| "name": "time.get", | |
| "title": "ساعت", | |
| "description": "ساعت و تاریخ فعلی", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [], | |
| "phrases": ["ساعت چنده", "چه ساعتی", "الان ساعت چنده", "تاریخ چنده", "what time"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://timeapi.io/api/Time/current/zone?timeZone=Asia/Tehran", | |
| "timeout_ms": 8000, | |
| "extract": { | |
| "clock": "time", | |
| "day": "day", | |
| "month": "month", | |
| "year": "year" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "ساعت {clock} است، {year}/{month}/{day} میلادی.", | |
| "on_error": "ساعت را نتوانستم بگیرم." | |
| } | |
| }, | |
| { | |
| "name": "quake.recent", | |
| "title": "زلزله", | |
| "description": "آخرین زمینلرزه ثبتشده در منطقه", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [], | |
| "phrases": ["زلزله", "زمین لرزه", "آخرین زلزله", "earthquake"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=1&orderby=time&minmagnitude=3.5&minlatitude=24&maxlatitude=40&minlongitude=44&maxlongitude=64", | |
| "timeout_ms": 10000, | |
| "extract": { | |
| "mag": "features.0.properties.mag", | |
| "place": "features.0.properties.place" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "آخرین زمینلرزه بزرگی {mag} بوده، در {place}.", | |
| "on_error": "اطلاعات زلزله در دسترس نیست." | |
| } | |
| }, | |
| { | |
| "name": "net.info", | |
| "title": "اینترنت", | |
| "description": "آیپی عمومی و محل اتصال", | |
| "kind": "http", | |
| "enabled": true, | |
| "parameters": [], | |
| "phrases": ["اینترنت وصله", "آی پی چیه", "اینترنت دارم", "internet"], | |
| "execute": { | |
| "method": "GET", | |
| "url": "https://ipapi.co/json/", | |
| "timeout_ms": 8000, | |
| "extract": { | |
| "ip": "ip", | |
| "city": "city", | |
| "org": "org" | |
| } | |
| }, | |
| "reply": { | |
| "fa": "اینترنت وصل است. آیپی {ip}، از {city} روی {org}.", | |
| "on_error": "اینترنت در دسترس نیست." | |
| } | |
| } | |
| ] | |
| } | |