Creates or fully replaces a catalog resource. The complete resource definition is read from stdin. For markdown kinds (agent personas, flights), pipe markdown. For all other kinds, pipe YAML.Documentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
kind | string | yes | The catalog resource kind. Run murmur describe to list available kinds and their input formats. |
name | string | yes | The resource name to create or replace. |
--file-field | string | no | Inject file content at a dotted field path. Format: field.path=filename. Repeatable. |
Input format
The command queries the server to determine whether the kind expects YAML or markdown input.- YAML kinds (e.g.
workspace,environment,pool-config) — pipe a YAML document to stdin. - Markdown kinds (e.g.
agent-persona,flight) — pipe a markdown document with YAML frontmatter to stdin. The entire input becomes the resource content.
--file-field is provided, the file content is injected at the specified field path. This is useful for fields that contain large text content — like provisioning scripts — that are easier to maintain as separate files.
This is a full replace. Every field in the existing resource is overwritten by the payload. To update individual fields without replacing the resource, use
murmur patch.Examples
Set a pool config
Set an agent persona from a markdown file
Read, modify, and write back
Inject a provisioning script from a file
Inject a nested field from a file
--file-field flag supports dotted paths for nested fields. Intermediate maps are created as needed.
Errors
| Code | Meaning | What to do |
|---|---|---|
UNAUTHENTICATED | Identity token is missing or expired. | Run murmur auth or check your murmur.local.yaml configuration. |
INVALID_ARGUMENT | The kind is not recognized or the payload is invalid. | Run murmur describe to check the kind’s schema and input format. |
FAILED_PRECONDITION | A referenced resource does not exist (e.g. a workspace references a nonexistent environment). | Verify that all referenced resources exist with murmur get. |
PERMISSION_DENIED | The resource is a platform builtin and cannot be overwritten. | Platform-managed resources are immutable. Create your own resource with a different name. |
Related
- Catalog — concept overview
murmur get— read a resource or list resources of a kindmurmur patch— update individual fields without replacing the resourcemurmur rm— delete a resourcemurmur describe— show schema information for a kind