create_resource
Create LegendKeeper wiki resources such as characters, locations, or pages with Markdown content, tags, icons, and parent placement; returns the new ID and documents.
Instructions
Create a resource (wiki article, location, character…), optionally with page content in Markdown. Reuse existing tags (list_tags) and give it an icon. Returns the new id and its documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| after | No | Sibling (id or name) to place this one after. | |
| parent | No | Parent resource id or name. Omit (or 'root') for the top level. | |
| aliases | No | ||
| content | No | Markdown for the new page. [[Name]] links become mentions. | |
| project | No | Configured project (world) name. Omit to use the default project; see list_projects. | |
| is_hidden | No | Create hidden (ADMIN keys only). | |
| icon_color | No | ||
| icon_glyph | No | Font Awesome icon name, e.g. 'dragon'. | |
| icon_shape | No | ||
| calendar_id | No | Calendar for a `time` document. | |
| document_name | No | First document's name. | |
| document_type | No | Type of the first document when there is no `content` (default: blank). |