Market: add item to cart
geode_market_add_item_to_cartAdd a product or service (by id) to your Marketplace cart with a quantity. Writes to the chain: this prepares an unsigned transaction (an intent) for signer; nothing happens until you sign it with geode-local-signer and submit it with geode_submit_intent.
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": {
"signer": "<signer>",
"add_item_id": "<add_item_id>",
"quantity": "<quantity>"
},
"name": "geode_market_add_item_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signer | Yes | Your account address (SS58). The transaction is prepared for this account; you sign it on your own machine with geode-local-signer. | |
| quantity | Yes | Non-negative integer as a string of digits | |
| add_item_id | Yes | 0x-prefixed 32-byte hex id |