1. An agent must find why a specific error message is thrown in a large service. The most context-efficient first step is to:
B. Search for the exact error string, then open only the files and functions that produce or handle it. (correct)
Searching the known string narrows the surface to the code that actually raises the error.
Why: Start from the known signal, the error string, and open only the matching code, rather than reading the whole service or guessing by file size.