Skip to main content

subcog/mcp/tools/handlers/
mod.rs

1//! Tool execution handlers.
2//!
3//! This module contains the execution logic for all MCP tools,
4//! organized into submodules by domain.
5
6mod context_templates;
7mod core;
8mod graph;
9#[cfg(feature = "group-scope")]
10mod groups;
11mod prompts;
12
13pub use context_templates::{
14    execute_context_template_delete, execute_context_template_get, execute_context_template_list,
15    execute_context_template_render, execute_context_template_save, execute_templates,
16};
17pub use core::{
18    execute_capture, execute_consolidate, execute_delete, execute_delete_all, execute_enrich,
19    execute_gdpr_export, execute_get, execute_get_summary, execute_history, execute_init,
20    execute_list, execute_namespaces, execute_prompt_understanding, execute_recall,
21    execute_reindex, execute_restore, execute_status, execute_update,
22};
23pub use graph::{
24    execute_entities, execute_entity_merge, execute_extract_entities, execute_graph,
25    execute_graph_query, execute_graph_visualize, execute_relationship_infer,
26    execute_relationships,
27};
28#[cfg(feature = "group-scope")]
29pub use groups::{
30    execute_group_add_member, execute_group_create, execute_group_delete, execute_group_get,
31    execute_group_list, execute_group_remove_member, execute_group_update_role, execute_groups,
32};
33pub use prompts::{
34    execute_prompt_delete, execute_prompt_get, execute_prompt_list, execute_prompt_run,
35    execute_prompt_save, execute_prompts,
36};