## TL;DR

Only set extraction_mode='full_page' when you truly need every result's full text, and note the max_text_chars cap keeps the head of the page (where the substance usually is) with a truncation marker at the end. If You.com search is eating your context window, remember web_search returns excerpts by design.

## Fix

1. Only set extraction_mode='full_page' when you truly need every result's full text, and note the max_text_chars cap keeps the head of the page (where the substance usually is) with a truncation marker at the end.
   Expected: You get the expected result; the problem is gone.

## When to use

- You are dealing with this situation.
- The symptom matches: You.com web_search returns excerpts; get_page fetches the full page.

## When NOT to use

- Unrelated issues with a different cause.
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported per the linked source.

## Variant phrasings

### You.com web_search returns excerpts; get_page fetches the full page

## Why it happens

Docs (pydantic-ai-harness You.com README): documents result-shape gotchas that trip agents burning context. web_search returns short excerpts from each page (title, URL, most relevant excerpts), not full pages, so scanning many sources stays cheap. Use get_page to fetch one promising URL's markdown. Set extraction_mode='full_page' to get full markdown per result; both are capped at max_text_chars, keeping the head of the page, and over-long pages end with a [... page text truncated at N characters] marker.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.