---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Keep working when someone sends your agent a locked PDF

A password-protected PDF no longer breaks the agent's turn.

When someone sends a password-protected PDF, their company's agent can continue the conversation instead of failing while reading the attachment. The agent gets an indication that the PDF needs a password, not its contents.

Tell your coding agent how your workflow should ask for an unlocked copy if it needs to read the document. An encrypted file is not silently treated as readable.
