Skip to main content

Module prompts

Module prompts 

Source
Expand description

Prompt tool execution handlers.

Contains handlers for prompt management operations: save, list, get, run, delete.

Provides both consolidated (execute_prompts) and legacy handlers.

Functionsยง

create_prompt_service ๐Ÿ”’
Creates a properly configured PromptService with storage settings from config.
execute_prompt_delete
Executes the prompt.delete tool.
execute_prompt_get
Executes the prompt.get tool.
execute_prompt_list
Executes the prompt.list tool.
execute_prompt_run
Executes the prompt.run tool.
execute_prompt_save
Executes the prompt.save tool.
execute_prompts
Executes the consolidated subcog_prompts tool.
execute_prompts_delete ๐Ÿ”’
Handles the delete action for subcog_prompts.
execute_prompts_get ๐Ÿ”’
Handles the get action for subcog_prompts.
execute_prompts_list ๐Ÿ”’
Handles the list action for subcog_prompts.
execute_prompts_run ๐Ÿ”’
Handles the run action for subcog_prompts.
execute_prompts_save ๐Ÿ”’
Handles the save action for subcog_prompts.
format_field_or_none ๐Ÿ”’
Formats a field value for display, returning โ€œ(none)โ€ if empty.
format_list_or_none ๐Ÿ”’
Formats a list of items for display, returning โ€œ(none)โ€ if empty.