Kadal Store

v0.1.1
cc.kadal/store Checked 10 hours ago Published 26 days ago

Find assets for what you're making, download what you own, and get a buy link to review.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

whoami Who is signed in

The person this store sign-in belongs to (id, name, email), its scopes, and whether they run the store. Call it when unsure whether the person is signed in.

list_shelves Store shelves

The store's shelves (its categories), each with a slug, name, blurb, how many products it holds, and its licence model. Use a shelf slug to narrow search_products or recommend.

search_products Search the store

Search the catalogue. Returns product cards: slug, name, kind (asset or pack), shelf, blurb, url, prices per licence tier in US cents, tags (style, topic, format), and `owned` (the person's tier if they already own it). Page with nextCursor.

ParameterTypeDescription
cursorstringnextCursor from the previous page.
formatstringA format tag, e.g. pdf, wav, glb, png.
kindstringasset: one product; pack: a bundle of several.
limitintegerHow many (default 20).
maxCentsintegerOnly products from at most this price, in US cents (2000 = $20).
querystringWords to search for, e.g. 'weekly planner a5' or 'retro ui sound effects'.
shelfstringA shelf slug from list_shelves.
sortstring
stylestringA style tag, e.g. minimal, pixel-art.
topicstringA topic tag.

get_product Product details

Everything about one product: description, prices per tier, its files (name, bytes, minimum tier, edition), editions, what a pack contains and which packs include it, the licence (what each tier allows and does not), and its update history. Check the licence before suggesting a product for commercial work.

ParameterTypeDescription
slug *stringThe product's slug.

recommend Recommend for this work

Products that fit what the person is working on. `context` is a few plain lines about the project and what it needs (project_summary's `text` is a good start; add what the person asked for). Never put file contents, secrets or personal data in it. Each item has a one-line `why` and a score; `packs` are bundles the person already owns part of (`ownedOf`). This only shortlists: read get_product for the best few, then recommend with your own reasons.

ParameterTypeDescription
context *stringWhat the project is and what it needs, at most 6000 characters.
formatsarrayFormats to prefer, e.g. ['pdf'] or ['wav', 'ogg'].
includeOwnedbooleanAlso list products the person owns (default false).
limitintegerHow many (default 8).
maxCentsintegerPrice ceiling in US cents.
shelvesarrayShelf slugs to keep to.

list_library What the person owns

Every product the person owns: the product card, their tier, its files (id, name, bytes, sha256, edition), whether a zip is available, and the latest update. File ids go to download_to_folder or get_download_links.

report_problem Report a problem

Tell Kadal about a product the person has: a mistake (a typo, a wrong date, a missing page, a broken file), a question, or an idea. Say where with fileName and page (PDFs, from 1) or timeSeconds (audio and video). The note is private to the person and Kadal, and its replies show in list_my_notes. Report only what you checked, in plain words, once per problem, and tell the person you filed it.

ParameterTypeDescription
body *stringWhat is wrong and where, in plain words.
kind *string
slug *string
fileNamestringThe file the problem is in, as list_library names it.
pageintegerThe PDF page, counting from 1.
timeSecondsnumberSeconds into the audio or video.

list_my_notes The person's notes

The person's notes (reports) on products, with each one's status (open, accepted, declined, duplicate, fixed), a plain status line, and the thread with Kadal's replies.

ParameterTypeDescription
statusstring

project_summary Summarise this project

A short summary of a project folder, without its contents: name and description from package.json / pyproject.toml / Cargo.toml, dependency names, tools it uses (Godot, Blender, Next.js, Obsidian…), the README's headings, file-type counts and the top-level names. It is what `kadal-store recommend --from` sends. Pass its `text` to recommend as context. Reads nothing else and sends nothing anywhere.

ParameterTypeDescription
dirstringA folder, relative to the project (default: the project itself).

download_to_folder Download into the project

Download files the person owns into the project, each checked against its sha256; files already there with the same checksum are skipped. dir is relative to the project (default kadal-store/<slug>). Narrow with fileNames or fileIds (from list_library) or an edition, or zip: true for the whole product as one zip. Returns where every file went.

ParameterTypeDescription
slug *string
dirstringFolder relative to the project, e.g. 'assets/sfx'. Default kadal-store/<slug>.
editionobjectNarrow a product sold in editions (planners, calendars) to one. Leave an axis out to keep all of it.
fileIdsarrayOnly these files, by id.
fileNamesarrayOnly these files, by name.
overwritebooleanDownload again even when the same file is already there.
zipbooleanThe whole product as one zip instead of its files.