Skip to main content

Schema Commands

Manage Coconut schema reference files that define the structure of your proposals, agents, and configuration.

nut schema refresh

Regenerate the reference schema files in .nut/.schema.
nut schema refresh
This command regenerates the JSON schema files that Coconut uses for validation and autocomplete. Run this after updating Coconut or when schema files become outdated. Example:
nut schema refresh
Schema files help provide autocomplete and validation in editors that support JSON schemas. They’re automatically kept in the .nut/.schema directory.

When to Use Schema Refresh

You should refresh schema files when:
  • You’ve updated to a new version of Coconut
  • Schema validation errors occur
  • Autocomplete isn’t working correctly in your editor
  • You’ve manually modified schema files and want to restore defaults
Schema files are typically regenerated automatically, but this command is useful for troubleshooting or after major updates.