Fetch one Sato Hub record
fetchUSE WHEN you hold an id that search returned and want that record from Sato Hub, the daily-rebuilt index of what onchain and crypto AI agents are built from, as plain text to quote. Not for token prices, trading or investment advice.
NOT FOR a directory slug (use onchain_agent_get_resource instead) or an id you made up (call search first).
RETURNS (json): { id, title, text, url, metadata: { as_of, kind, sato_score?, source } }. text is plain prose to quote: for a listing, what it is, its category and chains, its Sato Score with the date (how open, active and verifiable it is — not a safety or returns grade), its last observed activity, and whether Sato Hub reproduced its install; for an answer, number or wiki page, the answer with its date. url is the canonical satohub.ai page to cite. An id without a prefix is read as the record with that exact slug, or a listing it names exactly (the same name written differently, a recorded alias, the listing's own name); such an answer is labelled { interpreted_as, requested, rule, note } and its text starts with the note. Anything else is a miss that serves nothing (not an error: { miss, candidates, suggestions } beside an empty record whose text says so): it lists the ids search ranks for it as candidates ({ candidates: [{ id, title, url }] }), each an exact fetch to make. Read-only.
Example: { id: "resource:coinbase-agentkit" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An id returned by `search`: resource:<slug>, answer:<slug>, number:<slug> or wiki:<slug>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | The canonical satohub.ai page to cite. | |
| miss | No | Only when no record has the id: nothing was served (the record's text says so); candidates are the ids `search` ranks for it. | |
| note | No | Only with interpreted_as: one sentence saying what was served and why. Not an exact match. | |
| rule | No | Only with interpreted_as: which reading (other-kind, template-placeholder, search). | |
| text | Yes | Plain text to quote: the facts, each with its date, and the source URL. | |
| title | Yes | ||
| metadata | Yes | ||
| requested | No | Only with interpreted_as: the id that was sent. | |
| candidates | No | With miss: the ids to fetch instead, best first. Candidates, never matches. | |
| needs_input | No | Only when the call lacked its required argument: nothing was served; note says what to send. | |
| suggestions | No | Where to go next (a tool to call, or a candidate id to fetch). Suggestions, never matches. | |
| example_calls | No | With needs_input: exact calls that would work. | |
| interpreted_as | No | Only when the id was interpreted: the id of the record served instead (e.g. resource:coinbase-agentkit). | |
| interpretations | No | Only when more than one reading applied: every label, the first being interpreted_as / rule. |