Add a custom item
add_custom_itemPut something in the character's Inventory that the sheet doesn't have. A sync never touches it. Returns: The item.
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": {
"campaign": "<campaign>",
"character": "<character>"
},
"name": "add_custom_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Value. | |
| icon | No | A glyph key from the app's icon set. | |
| name | No | What it is called. | |
| slot | No | Where it is worn, for equipment. | |
| armor | No | Armor numbers. | |
| magic | No | Whether it is magical. | |
| detail | No | The whole text. | |
| rarity | No | How rare it is. | |
| weight | No | Weight. | |
| acBonus | No | Armor class it adds while worn. | |
| effects | No | Up to eight effect lines. | |
| summary | No | One line for the card. | |
| campaign | Yes | The campaign, by its slug (what its link says) or its id. | |
| itemType | No | A short type line, in your own words. | |
| quantity | No | How many. | |
| statLine | No | A stat line for the card. | |
| character | Yes | The character, by its slug. | |
| equipment | No | True for something worn or wielded, false for counted gear. | |
| requiresAttunement | No | Whether it needs attuning. |