Add a character to a campaign
play_add_campaign_characterAttach a vault character to a play campaign so the character participates in play. Play places the attachment on the campaign leg matching the vault character's own ruleset — the campaign must have an active leg for that ruleset. Caller must hold a seat at the table (the campaign's owner, or an accepted gamemaster or player) and be able to edit the character (its owner, or an admin with Admin Mode on). A character can be on at most 10 active campaigns (400 for one more). The character also joins every World the campaign is linked to; the answer carries worldsNotJoined ([{ _id, name }], the linked Worlds a character already in as many Worlds as it may be did not join) and warning (a sentence saying so, or null; relay it to the user). Joining a World changes the character itself: the answer's updatedAt is its new version (null when it joined none), the baseUpdatedAt a later vault_update_character needs, and addedSkills lists the skill rows the join added. Use vault_search_characters to locate the character id first.
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": {
"campaignId": "<campaignId>",
"characterId": "<characterId>"
},
"name": "play_add_campaign_character"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npc | No | true if this character is added as a DM-controlled NPC; false / omitted = player character. | |
| campaignId | Yes | Campaign id. | |
| characterId | Yes | Vault character id to add. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||