fetch_json
Retrieve and parse JSON data from any web URL, then return it in a readable, formatted structure. Use this tool to access and interpret JSON content directly from online sources.
Instructions
Fetch JSON from a URL, parse it, and return it formatted.
This tool allows Claude to retrieve and parse JSON data from any accessible web URL.
The JSON is prettified for better readability.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headers | No | Additional headers to send with the request | |
timeout | No | Request timeout in seconds | |
url | Yes | The URL to fetch JSON from |
Input Schema (JSON Schema)
{
"properties": {
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional headers to send with the request",
"title": "Headers"
},
"timeout": {
"default": 10,
"description": "Request timeout in seconds",
"title": "Timeout",
"type": "integer"
},
"url": {
"description": "The URL to fetch JSON from",
"format": "uri",
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "fetch_jsonArguments",
"type": "object"
}