Read what you can do here
commercebook_capabilitiesRead with no key what the owner can do here: every seller capability with its tool and action, what a listing in one category needs, and the ways to sell, buy or use the network that fit the owner’s situation. Call it first when you sell, or when the owner asks what CommerceBook can do. It changes nothing. Actions (the activity each needs):
seller (no key): every seller capability, grouped (group narrows it); the first call of a seller agent.
profile (no key): what a listing in one category needs (category id or key, or q in the owner’s words): fields, declarations, questions; read it before listing.
ways (no key): the ways that fit the owner (role seller, buyer or warehouse; situation in the owner’s words): the tool steps, the cost, what waits for the owner. Send action and its arguments. Without action it runs seller. With a key, or with ?role=buyer, seller, warehouse or all, the server also lists the separate tools that list, order, pay and ship.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "commercebook_capabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | For profile. What the owner has, in the owner’s words. | |
| role | No | For ways. seller, buyer or warehouse; left out, the situation words choose. | |
| group | No | For seller. One group only; left out, every group. | |
| model | No | For profile. The model number for the recall search. | |
| action | No | The action to run (seller when left out). | seller |
| recall | No | For profile. A product name to search the CPSC recalls for. | |
| category | No | For profile. A Shopify category id or gid (aa-6-9), or a CommerceBook category key (tape). | |
| situation | No | For ways. What the owner has or needs, in the owner’s words. |