fetch_json
Retrieve JSON data from any URL with optional headers and configurable character limits. Specify a start index to fetch partial content.
Instructions
Fetch a JSON file from a URL.
Args: url: URL of the JSON to fetch headers: Optional headers to include in the request max_length: Maximum number of characters to return (default: 50000) start_index: Start content from this character index (default: 0)
Returns: The JSON content as a string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| headers | No | ||
| max_length | No | ||
| start_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |