fetch_json
Fetch JSON data from a URL to access structured information from web APIs or files. Use this tool to retrieve JSON content with optional custom headers for integration and data processing.
Instructions
Fetch a JSON file from a URL
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "fetch_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the JSON to fetch | |
| headers | No | Optional headers to include in the request |