Skip to content

fix: expose v2 search fields#227

Open
zxyasfas wants to merge 1 commit into
firecrawl:mainfrom
zxyasfas:fix/search-v2-fields
Open

fix: expose v2 search fields#227
zxyasfas wants to merge 1 commit into
firecrawl:mainfrom
zxyasfas:fix/search-v2-fields

Conversation

@zxyasfas

@zxyasfas zxyasfas commented May 6, 2026

Copy link
Copy Markdown

Summary

Expose the remaining documented /v2/search options through the firecrawl_search MCP tool and forward them to the Firecrawl API.

Changes

  • Add categories, country, timeout, and ignoreInvalidURLs to the search tool schema.
  • Accept both string and object forms for sources and categories, matching the public search request shape.
  • Send search requests to /v2/search directly so accepted MCP fields are included in the API payload.
  • Preserve the existing includeDomains / excludeDomains query-operator behavior before the API call.

Fixes #219.

Validation

  • npm run build
  • git diff --check -- src/index.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

firecrawl_search MCP tool is missing documented /v2/search fields

1 participant