Skip to content
Jupiter documentation
Menu

Tools

The 7 tools and the prompt, with every argument, its default and what each tool returns.

The server registers as procurement-search with 7 tools and 1 prompt.

search_offers#

Searches the requested marketplaces at once under one deadline. Returns a list of entries: offers ranked by sort, then comps, then diagnostics. Offer format lists the fields.

The result holds at most max_results * 2 offers. Comps and diagnostics are added after that cut.

get_offer_detail#

Returns one offer, or a tool failure.

When a live fetch fails, the tool falls back to the stored offer, then to the failure. The server remembers the last 2000 offers in memory. With a database it also looks in unexpired cached searches.

search_by_image#

Runs a reverse image search through an Apify actor and returns matching listings as offers. One search costs about 0.10 USD in Apify credit.

The offers carry a price, a minimum order and a supplier name. They have no delivery status and no landed cost. A failed or empty search returns one diagnostic.

latest_deals#

Reads the deal sites' RSS feeds, which hold about the latest 100 deals each. Returns deals sorted by net votes, highest first, then one diagnostic for each feed that failed.

Each deal has a community block with votes, comments, clicks and expiry. price_aud is the first dollar amount in the deal's title.

get_price_history#

Returns the Amazon price history of one product from Keepa, for the price sold by Amazon itself.

search_history#

Reads the Postgres search log or the cache, newest first.

Without a database the tool returns a failure with code db_disabled.

health#

Takes no arguments and shows no key values.

ready is true when the key is set and the status is verified or unverified. Status lists the four values.

Prompt procurement_brief#

Takes query and returns a system prompt. The prompt tells the model to call search_offers with sort: best_value, compare landed_aud with its landed_basis, and report diagnostics separately.

Source: belikh/procurement HEAD