call_skyportal_api
Make API requests to SkyPortal for astronomical data retrieval and modification. Use GET for read-only access; POST, PUT, DELETE for write operations with permanent effects.
Instructions
Make an API call to SkyPortal.
⚠️ WRITE RISK: POST, PUT, and DELETE requests will permanently modify or delete data on your SkyPortal/Fritz instance. These operations cannot be undone through this tool. Always confirm the endpoint and payload before using a non-GET method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Request body | |
| method | No | HTTP method (GET, POST, PUT, DELETE) | GET |
| params | No | Query parameters | |
| endpoint | Yes | API endpoint (e.g., "/api/sources") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |