write_card
Create or update Markdown lore cards for people, events, places, things, or slang, saving structured fields, keywords, aliases, and references as durable canon.
Instructions
Write a card.
kind: people | event | place | thing | slang | entry. key: the card's file name, also its default title. fields: section name -> text. people: who/stance/recent/impression; event: when/who/what/stance/followup; place: where/relation/recent; thing: what/usage/recent; slang: meaning/origin/usage; entry: {"_head": "..."}. keywords: what the card listens for. aliases: other ways the subject gets named. refs: keys of other cards worth one line of context when this one fires. mode="create" refuses to overwrite an existing card; mode="update_recent" rewrites only the recent section (followup for events) of a card that already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| kind | Yes | ||
| mode | No | create | |
| refs | No | ||
| fields | Yes | ||
| aliases | No | ||
| keywords | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||