# Merchant's Commands

<figure><img src="/files/PKOnKxhdlf1fX17mxL2j" alt=""><figcaption></figcaption></figure>

## Click on the command you want to learn more about :&#x20;

* [Hello](#hello)
* [Help](#help)
* [Inventory](#inventory)
* [Storebuy](#storebuy)
* [Storecart](#storecart)
* [Storeitem](#storeitem)
* [Storelist](#storelist)
* [Yarnbalance](#yarnbalance)
* [Yarnregister](#yarnregister)

## Commands:

## Hello

`/hello` - Say GM to the Merchant.

## Help

`/help` - Displays all the available commands.

`/help COMMAND` - Displays help about a specific command.

## Inventory

`/inventory` - Displays full inventory.

`/inventory ITEM` - Displays an inventory ITEM details.

## Storebuy

`/storebuy` - Displays a menu with ITEMs.

`/storebuy ITEM` - Directly buys 1 ITEM, more info on items [here](/knittables/tribal-merchant/the-tribal-merchant/merchants-items.md).

You can add a number at the end of the command to buy more than 1 item : use `/storebuy ITEM 3` to buy 3 ITEMs.

## Storecart

Create yourself a cart, fill it and then bulk buy the items:

`/storecart` - Lists all ITEMs in your cart.

`/storecart add ITEM` - Adds 1 ITEM to your cart.

You can add a number at the end of the command to buy more than 1 item : use `/storecart add ITEM 4` to add 4 ITEMs to your cart.

`/storecart remove ITEM` - Removes 1 ITEM from your cart.

You can add a number at the end of the command to remove more than 1 item : use `/storecart remove ITEM 10` to remove 10 ITEMs from your cart.

`/storecart set ITEM` - Sets the quantity of ITEM to 1 in your cart.

You can add a number at the end of the command to add the quantity of ITEM your cart : use `/storecart set ITEM 3` to add 3 of ITEM  in your cart.

`/storecart checkout` - Proceeds to checkout.

## Storelist

`/storelist` - Displays store items list, more info on items [here](/knittables/tribal-merchant/the-tribal-merchant/merchants-items.md).

`/storelist ITEM` - Displays store ITEM info.

## Yarnbalance&#x20;

`/yarnbalance`- Displays your $Yarn balance.

`/yarnbalance @user` -Displays the $YARN balance of @user.

## Yarnregister

`/yarnregister` - Start to passively earn $YARN with the soft staking, more info [here](/knittables/tribal-merchant/the-tribal-merchant/soft-staking.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knittables.gitbook.io/knittables/tribal-merchant/the-tribal-merchant/merchants-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
