# Webcrawl + OpenAI Agents SDK

Wrap /v1/scrape and /v1/search as custom Agents SDK tools.

Give OpenAI Agents SDK tools live web access with @webcrawl/client or REST. No official Webcrawl Agents SDK package; wrap scrape and search yourself.

Packages: `@webcrawl/client`, `webcrawl`.

## FAQ

### Is there an official Webcrawl package for the OpenAI Agents SDK?

No. Call @webcrawl/client or REST from tool functions you define in the OpenAI Agents SDK. We do not publish a separate OpenAI Agents integration package.

### Which endpoints should agent tools call?

Start with POST /v1/search to find URLs, POST /v1/scrape for Markdown, and POST /v1/map when you need a site URL list. Use POST /v1/extract when you need structured fields.

### Can I use MCP instead of custom tools?

Yes, when your runtime speaks MCP. Prefer hosted https://webcrawl.app/mcp or npx @webcrawl/mcp. Use Agents SDK tool wrappers when you already standardize on that SDK.

HTML: https://webcrawl.app/integrations/openai-agents-sdk
