Clone a vault character
vault_clone_characterDuplicate any vault character the calling user can see — their own characters, stock template content, and other users' authored characters are all valid sources. The server does the deep-copy (stats, skills, items, rules, spells, trackables, all of it) — caller passes only the source id and optionally a new name. The new character is owned by the caller (not the source's original owner) and counts against the caller's character entitlement limit. When name is omitted, the clone is named <source name> (Copy). Use this instead of fetching the source sheet and re-POSTing it via vault_create_character.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mongo `_id` of the source character to clone. | |
| name | No | Optional name for the new character. Defaults to `<source name> (Copy)` when omitted, matching the web client's clone behavior. Whitespace-only values are rejected at the schema layer so a silently-trimmed-to-empty name can't reach the backend. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||