create_note
Create a vault note with YAML frontmatter and body for D&D 5e campaigns, supporting types like NPCs, locations, and quests. Overwrite option allows safe re-runs.
Instructions
创建一条 vault 笔记(YAML frontmatter + 正文)。note_type 见 NOTE_TYPES (npc/location/faction/monster/character/encounter/quest/session/campaign_state/ campaign/scene/clue/map);campaign-scoped 类型需传 campaign。自动写入 id/type/name。 overwrite=True 时覆盖同名笔记(用于模组解析等可续/幂等重跑)。
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": {
"note_type": "<note_type>",
"name": "<name>"
},
"name": "create_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| name | Yes | ||
| campaign | No | ||
| note_type | Yes | ||
| overwrite | No | ||
| frontmatter | No |