Find the tool for a task
commercebook_tool_searchFind the tool and the action for a task in plain words, with the arguments it takes: for example "ship an order", "post a request", "watch a category". The owner's situation in plain words ("I have a garage full of used tools") also answers way, the way to sell or buy that fits it. Call it when no listed tool plainly fits. No key needed, and it changes nothing. role (buyer, seller, warehouse or all) ranks that role's tools first. Each tool only reads, adds, changes or pays, and takes action and that action's arguments. 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
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "commercebook_tool_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Rank the tools of this role first: buyer, seller, warehouse or all. | |
| limit | No | How many matches to answer, 1 to 10 (3 by default). | |
| query | Yes | What you are trying to do, or the owner's situation, in plain words. |