items_updateItemCost

WRITE

Update item cost.

Parameters

itemIdstringrequired
costobjectrequired

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "items_updateItemCost",
  "arguments": {
    "itemId": "string",
    "cost": {}
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "cost": {
      "type": "object",
      "properties": {
        "unitCost": {
          "type": "number"
        }
      },
      "required": [
        "unitCost"
      ]
    }
  },
  "required": [
    "itemId",
    "cost"
  ]
}