fetch-json
Convert web content from any URL into JSON format, with optional pretty-printing, using the MCP URL Fetcher for streamlined data integration and processing.
Instructions
Fetch content from any URL and convert to JSON format
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "fetch-json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prettyPrint | No | Whether to pretty-print the JSON (default: true) | |
| url | Yes | URL to fetch content from |