Local Artifact Registry
manage_artifactLists, verifies, installs, or removes shareable Novel packs, adventure modules, and ruleset packages from an inbox registry, checking hash and slug integrity before use.
Instructions
Manage the host registry of shareable artifacts — Novel packs, adventure modules, and ruleset packages — exchanged offline through an inbox. list and verify are read-only. install copies a verified artifact into its kind directory and audits it; ruleset tools become callable after restart. remove is permanent (no undo), rebuilds ruleset prompts, and refuses while a Novel depends on it. install/remove need the GM badge and record a security event, and install refuses a hash/provenance mismatch, a mismatched slug, or an existing slug; slug names remove/verify and must match the artifact's slug on install (a pack without one adopts it). source is an inbox-relative file or package directory; location is GM-only. Use when: exchanging a world pack or ruleset between installations. Do NOT use when: installing a package built in-process — use manage_ruleset (action: install); importing state into the active Novel — use manage_archive (action: import).
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": {
"action": "<action>"
},
"name": "manage_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Artifact kind; filters list and targets install/remove/verify. | |
| slug | No | Artifact slug (remove/verify); on install it must match the artifact's own slug, and a pack without one adopts it. | |
| action | Yes | list, install, remove, or verify. | |
| source | No | Inbox-relative Novel pack (.json), adventure module (.md), or ruleset package directory to install (install). | |
| integrity | No | Integrity filter: verified, unverified, or absent (list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |