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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
prettyPrint | No | Whether to pretty-print the JSON (default: true) | |
url | Yes | URL to fetch content from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"prettyPrint": {
"description": "Whether to pretty-print the JSON (default: true)",
"type": "boolean"
},
"url": {
"description": "URL to fetch content from",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}