Commands (slash commands) provide reusable prompt templates that can be invoked during conversations. They allow you to define frequently used prompts with parameters.
-type:staticcontent:'Summarizethistext:{text}'# The prompt template content. Supports ${env.VAR} substitution.name:null# Command name (optional, can be inferred from key).description:null# Optional description of what this command does.
-type:filepath:prompts/summarize.txt# Path to file containing the prompt template.encoding:utf-8# File encoding to use when reading the file.name:null# Command name (optional, can be inferred from key).description:null# Optional description of what this command does.
-type:callablefunction:mymodule.commands.summarize# Python function import path (e.g., 'my.package.module.function_name').name:null# Command name (optional, can be inferred from key).description:null# Optional description of what this command does.