fetch_json
Retrieve JSON data from a specified URL using the Fetch MCP Server. Supports optional headers, character limits, and start indices for precise content extraction.
Instructions
Fetch a JSON file from a URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headers | No | Optional headers to include in the request | |
max_length | No | Maximum number of characters to return (default: 5000) | |
start_index | No | Start content from this character index (default: 0) | |
url | Yes | URL of the JSON to fetch |
Input Schema (JSON Schema)
{
"properties": {
"headers": {
"description": "Optional headers to include in the request",
"type": "object"
},
"max_length": {
"description": "Maximum number of characters to return (default: 5000)",
"type": "number"
},
"start_index": {
"description": "Start content from this character index (default: 0)",
"type": "number"
},
"url": {
"description": "URL of the JSON to fetch",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}