Reference
Responses
What each tool returns, as text for the model and as structured JSON for your code.
Every tool result has three parts:
content: one text item written for a model to read, covering the same information as the JSON.structuredContent: the result as JSON. The fields are listed below.isError:truewhen the call could not do what was asked. See Errors.
search_guidance
| Field | Type | Meaning |
|---|---|---|
library_version |
string | The library version that answered |
query, family |
string, string or null | The search as received |
shortlist |
array | The candidates, best match first (below) |
note |
string | A reminder that the shortlist is not guidance |
withheld_paid_matches |
number | Paid matches not shown because the caller has no paid access |
partial_match |
boolean | true when no candidate matched all the words of the query |
inquiry_counted |
boolean | Whether this search counted as an inquiry |
free_follow_up |
boolean | Whether this search was free because it followed a partial match |
free_next_search_until |
string or null | When the free follow-up window ends, after a charged partial match |
coverage |
object or null | Fetches this search covers: covered_fetches, expires_at, of |
account |
object or null | Your usage (below); null without credentials |
payment |
object or null | Present when paid matches were withheld: required, reason, url |
Each shortlist candidate:
| Field | Meaning |
|---|---|
rank |
Position, 1 = best match |
id |
Entry ID, such as CTG-120 |
family |
Family code |
title |
The question the entry answers |
terms |
Search vocabulary and ASC references for the entry |
access |
public (free sample) or paid |
match |
How it matched: id, asc_exact, asc_section, text, or text_loose (some words only) |
linked_to |
Reserved; currently always null |
get_entries and get_entry
| Field | Type | Meaning |
|---|---|---|
library_version |
string | The library version that answered |
entries |
array | The entries returned (below) |
not_found |
array | Requested IDs that do not exist |
inquiry_counted |
boolean | Whether this call counted as an inquiry |
account |
object or null | Your usage (below) |
payment |
object or null | Present when paid entries were not returned: required, reason, url, ids |
Each entry: id, title, family, access (public or paid), billing (public, covered or charged), billing_note (in words), and text (the full entry).
list_families
library_version, built_at, entry_count, families (each with code, title, description listing its ASC topics, entry_count and public), public_families, individually_public_entries, and account.
The account object
| Field | Meaning |
|---|---|
plan |
Your plan’s name, or null with no active plan |
included_inquiries_remaining |
Included inquiries left this billing month |
included_inquiries_per_period |
Your plan’s monthly allowance |
period_ends |
When the current billing month ends |
block_balance_inquiries |
Inquiries left in your blocks |
block_balance_value |
Their value, in dollars |
next_block_expiry |
When your soonest-expiring block expires |
auto_reload |
Whether auto-reload is on and not paused |