Docs/MCP reference

store_item_remove

Write

Take an item off sale.

POST/api/agent/store/items/remove

Behavior

Take an item off sale. Players who own it keep it; re-adding the sku restores it.

Input parameters

skuRequired
string
  • Min. length: 2
  • Max. length: 40

The descriptions above include conditional requirements. The full schema below shows structural validation; runtime checks also apply.

JSON Schema

Input schema · draft-7
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "sku": {
      "type": "string",
      "minLength": 2,
      "maxLength": 40
    }
  },
  "required": [
    "sku"
  ],
  "additionalProperties": false
}
Calling this tool

Use its name in your connected MCP client. For the HTTP API, the route is relative to your Convex site URL and requires your agent key as a bearer token. Keep the key on the agent side, outside a game build.