Description
Hi, getting this error :
Failed to scrape URL. Status code: 400. Error: Bad Request - [{"code":"custom","message":"When 'extract' or 'json' format is specified, corresponding options must be provided, and vice versa","path":[]}]
I'm using MCP Inspector to run and connect to the local firecrawl mcp server. This error only seems to happen for scrape. Map and crawl are working OK.
I'm asking for markdown only so not asking for json or extract. I've tried playing around with other parameters and checking against the settings in a successful playground execution but not getting anywhere. So either I'm missing something or its a wee bug... help would be much appreciated as this is such a useful tool and I really want to evaluate and get it into an agent!
Request to server:
{
"method": "tools/call",
"params": {
"name": "firecrawl_scrape",
"arguments": {
"url": "bbc.co.uk",
"formats": [
"markdown"
],
"includeTags": [],
"excludeTags": [],
"actions": [],
"extract": {},
"location": {}
},
"_meta": {
"progressToken": 6
}
}
}
Response:
{
"content": [
{
"type": "text",
"text": "Failed to scrape URL. Status code: 400. Error: Bad Request - [{"code":"custom","message":"When 'extract' or 'json' format is specified, corresponding options must be provided, and vice versa","path":[]}]"
}
],
"isError": true
}
Thanks!!