Drive an installed LaRuche App through its declared actions, never its files.
日本語の概要は準備中です。原文の説明を表示しています。
Report the weather forecast for a city, with its source.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Answer "what is the weather in X" with real, current data. Your training prior knows nothing about today, so this always goes through the network. Never answer from memory, and never soften that by hedging: an invented forecast is worse than "let me check".
wttr.in returns preformatted text over plain HTTP. No parsing, no HTML, no extraction.
web_fetch(url="https://wttr.in/Paris?format=3")
web_fetch(url="https://wttr.in/Paris?format=4")
web_fetch(url="https://wttr.in/Paris")
?format=3 gives one line: place, symbol, temperature. Paris: 22 C. Right for a
passing question.?format=4 adds wind to the same line, as speed and direction. Not humidity.Add ?lang=fr for French output, which only changes the FULL forecast: the one-line
formats carry no words to translate. ?m forces metric and ?u forces imperial, which
matters because the default follows the country queried, so a US city answers in
Fahrenheit. Spaces in a city name become + or %20:
https://wttr.in/New+York?format=3.
The full forecast is ANSI-coloured. The escape codes are noise in a chat answer: read the numbers out of it and write the answer yourself, do not paste the block.
Start here. Reach for the search path below only when this fails, or when the user needs something wttr.in does not carry, such as an official weather warning.
web_search with query set to <city> weather forecast (or meteo <city> for a
French city). Optionally pin it with allowed_domains, for example
["meteofrance.com"] or ["weather.com"].web_fetch with that url. It takes ONE url, as a string, and returns clean text.web_fetch again with
render: true.read_extract is not part of this. It takes path and reads a LOCAL PDF, .txt or
.md file. Given a URL it answers File not found. The tool that reads a web page is
web_fetch.
Give the user, in their own units and language:
State the date the forecast is for. "Tomorrow" written on a Sunday means Monday to the reader and nothing at all in a log read later.
<city>,<country code>: https://wttr.in/Cambridge,GB?format=3.web_fetch on wttr.in returns nothing or an error page. The service is down or is
rate limiting you. Go to the search path; do not retry in a loop.
The search returns only aggregators. Re-query with the country and the word
forecast, or pin allowed_domains to a national service: meteofrance.com,
metoffice.gov.uk, weather.gov.
The page loads but holds no numbers. It is JavaScript-rendered. web_fetch with
render: true, then browser with action: "navigate" if that still fails.
The city is not found anywhere. Ask the user to confirm the spelling and the country, rather than answering about a same-named place elsewhere.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Drive an installed LaRuche App through its declared actions, never its files.
日本語の概要は準備中です。原文の説明を表示しています。
Find academic papers on arXiv, with citation counts and BibTeX.
日本語の概要は準備中です。原文の説明を表示しています。
Render text or an image as ASCII art for terminal-friendly output.
日本語の概要は準備中です。原文の説明を表示しています。
Track RSS/Atom feeds and blogs via blogwatcher-cli.
日本語の概要は準備中です。原文の説明を表示しています。
Drive a real web browser: navigate, read, find, click, fill, screenshot
日本語の概要は準備中です。原文の説明を表示しています。
Measure a codebase: lines of code, language mix, and symbol lookups.
日本語の概要は準備中です。原文の説明を表示しています。