fetch_json
Retrieve JSON data from any URL by specifying the endpoint and optional headers. Simplify API integration and data extraction for web content.
Instructions
Fetch a JSON file from a URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headers | No | Optional headers to include in the request | |
url | Yes | URL of the JSON to fetch |
Input Schema (JSON Schema)
{
"properties": {
"headers": {
"description": "Optional headers to include in the request",
"type": "object"
},
"url": {
"description": "URL of the JSON to fetch",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}