query_nasa
Query NASA's public APIs to retrieve space data, imagery, and scientific information by specifying endpoints and parameters.
Instructions
Make a raw query to the NASA API.
Args:
endpoint: API endpoint (e.g., '/planetary/apod', '/neo/rest/v1/feed')
params: Query parameters (api_key will be added automatically)
Returns:
Raw JSON response from NASA API
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": {
"endpoint": "<endpoint>"
},
"name": "query_nasa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| params | No |