firecrawl / firecrawl/firecrawl-mcp-server

sse server There is an error in the return parameter type.

Open
#51 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.5k
Forks
884
Avg merge
1d 11h
Merged PRs (30d)
14

Description

see server return
`ToolParameter(name='location', parameter_type='object', description='Location settings for scraping', required=False, default='{}', parameter_items=None)], metadata={'endpoint': 'http://localhost:3000/sse'}, identifier='firecrawl_scrape')`
When using it, there will be an error.
`code": "invalid_type",\n "expected": "string",\n "received": "object",\n "path": [\n "location"\n ],\n "message": "Expected string, received object"\n }\n]', 'annotations': None}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SSE response from the `firecrawl_scrape` endpoint at `http://localhost:3000/sse`, focusing on the `location` parameter. Trace where its declared type and returned value are defined, then verify that the schema and response agree and the reported invalid-type error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.