diff options
Diffstat (limited to 'examples/tools/weather.toml')
| -rw-r--r-- | examples/tools/weather.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/tools/weather.toml b/examples/tools/weather.toml new file mode 100644 index 0000000..ddf3f8e --- /dev/null +++ b/examples/tools/weather.toml @@ -0,0 +1,13 @@ +description = "Weather now, or the forecast for today or tomorrow. Leave place empty for the user's home." +command = ["weather.sh", "{place}", "{when}"] +timeout = 12 +announce.it = ["Controllo il meteo.", "Vediamo che tempo fa."] +announce.en = ["Checking the weather.", "Let me check the weather."] + +[params.place] +type = "string" +description = "City and ISO country code, e.g. Rome,IT or Paris,FR (a bare name can match a town in another country). Empty for home." + +[params.when] +type = "string" +description = "now, today or tomorrow. Empty for now." |
