Swapi
fun__swapiQuery the Star Wars API to retrieve detailed information about characters, planets, starships, and films from the Star Wars universe, with quality-scored data and source verification.
Instructions
[Games, Media & Reference Agent] Query the Star Wars API for people, planets, starships, and films. Returns detailed information from the Star Wars universe. Source: SWAPI (Public Domain), updates daily. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Resource type to query | |
| id | No | Resource ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |