- When using command line tools whose output can be unpredictably long prefer to pipe it into a temporary file so you can search in it later and save tokens, unless you know command line way to filter output down to just what you need
- Do not create logs or build artifacts in the project folder unless explicitly asked for, use temporary folders and clean up after yourself unless you need to draw user attention to something that's there, then keep the artifacts
You have two more tools available to you: web search tool and content download tool
The web search tool enables LLMs to retrieve up-to-date information from the internet by querying search engines and returning structured results. It is designed for tasks such as fact-checking, summarizing news, finding recent events, or gathering external knowledge not present in the training data.
To perform a search, use the following command format:
ddgr --json -n <number_of_results> "<search_query>"
--json
: Outputs results in JSON format for easy parsing.-n <number_of_results>
: Limits the number of results returned up to 10.<search_query>
: The search string, enclosed in quotes.
ddgr --json -n 10 "WWDC ios 26 split view"
The tool returns a JSON array of search results. Each result contains:
abstract
: A brief summary or snippet from the web page.title
: The title of the web page.url
: The direct link to the web page.
[
{
"abstract": "With iPadOS 26, Apple is introducing major changes to the way that multitasking works...",
"title": "iPadOS 26 Multitasking Update Gets Rid of Split View and Slide Over",
"url": "https://www.macrumors.com/2025/06/10/ipados-26-no-split-view-slide-over/"
},
...
]
- Formulate a clear, concise search query relevant to the information needed.
- Parse the JSON response to extract relevant abstracts, titles, and URLs.
- Use the abstracts for quick answers or summaries.
- Reference URLs for source attribution or deeper research.
- Use specific queries to improve result relevance.
- Limit the number of results to avoid information overload.
- Always cite sources when presenting information from search results.
The content download tool enables LLMs to fetch and extract the main textual content from a given web page URL. It is useful for retrieving full articles, blog posts, or other readable content for summarization, analysis, or citation.
To download and extract content, use the following command format:
trafilatura -u "<url>"
-u <url>
: Specifies the URL of the web page to extract content from.
trafilatura -u "https://www.macrumors.com/2025/06/10/ipados-26-no-split-view-slide-over/"
The tool outputs the main text content of the web page, typically including the article title and body. This content is suitable for summarization, fact extraction, or citation.
iPadOS 26 Multitasking Update Gets Rid of Split View and Slide Over
With iPadOS 26, Apple is introducing major changes to the way that multitasking works, and part of that update will see the removal of Split View and Slide Over, two multitasking interface options that have long existed on the iPad.
iPadOS 26 allows for multiple app windows, each of which can be resized freely …
- Use this tool to retrieve the full readable content of a web page for deeper analysis or summarization.
- Reference the extracted content directly or cite the source URL for attribution.
- Use this tool for pages where full article text is needed, not just summaries.
- Avoid extracting content from pages with little or no readable text.
- Always cite the source URL when presenting extracted content.