pub struct McpServer {
session: Arc<Session>,
tool_router: ToolRouter<Self>,
prompt_router: PromptRouter<Self>,
}Expand description
MCP server bound to a single Session.
One instance is constructed per MCP client connection by the
StreamableHttpService factory wired in main.rs. The
tool_router and prompt_router fields are built once at construction
time from the #[tool_router] / #[prompt_router] attribute macros
applied further down in this module.
Cheap to clone — only Arc and small router structs.
Fields§
§session: Arc<Session>The session this MCP client is bound to.
tool_router: ToolRouter<Self>The router auto-generated from #[tool_router] annotations.
prompt_router: PromptRouter<Self>The router auto-generated from #[prompt_router] annotations.
Implementations§
Source§impl McpServer
impl McpServer
pub fn new(session: Arc<Session>) -> Self
Sourcepub fn call_command_tool_attr() -> Tool
pub fn call_command_tool_attr() -> Tool
Generated tool metadata function for call_command
pub fn call_command( &self, params: Parameters<CallCommandArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn new_pack_tool_attr() -> Tool
pub fn new_pack_tool_attr() -> Tool
Generated tool metadata function for new_pack
pub fn new_pack( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn open_packfiles_tool_attr() -> Tool
pub fn open_packfiles_tool_attr() -> Tool
Generated tool metadata function for open_packfiles
pub fn open_packfiles( &self, params: Parameters<OpenPackfilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_packfile_tool_attr() -> Tool
pub fn save_packfile_tool_attr() -> Tool
Generated tool metadata function for save_packfile
pub fn save_packfile( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn close_pack_tool_attr() -> Tool
pub fn close_pack_tool_attr() -> Tool
Generated tool metadata function for close_pack
pub fn close_pack( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_pack_as_tool_attr() -> Tool
pub fn save_pack_as_tool_attr() -> Tool
Generated tool metadata function for save_pack_as
pub fn save_pack_as( &self, params: Parameters<PackKeyPathArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn clean_and_save_pack_as_tool_attr() -> Tool
pub fn clean_and_save_pack_as_tool_attr() -> Tool
Generated tool metadata function for clean_and_save_pack_as
pub fn clean_and_save_pack_as( &self, params: Parameters<PackKeyPathArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn trigger_backup_autosave_tool_attr() -> Tool
pub fn trigger_backup_autosave_tool_attr() -> Tool
Generated tool metadata function for trigger_backup_autosave
pub fn trigger_backup_autosave( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn load_all_ca_pack_files_tool_attr() -> Tool
pub fn load_all_ca_pack_files_tool_attr() -> Tool
Generated tool metadata function for load_all_ca_pack_files
pub fn load_all_ca_pack_files( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn set_pack_file_type_tool_attr() -> Tool
pub fn set_pack_file_type_tool_attr() -> Tool
Generated tool metadata function for set_pack_file_type
pub fn set_pack_file_type( &self, params: Parameters<SetPackFileTypeArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn change_compression_format_tool_attr() -> Tool
pub fn change_compression_format_tool_attr() -> Tool
Generated tool metadata function for change_compression_format
pub fn change_compression_format( &self, params: Parameters<ChangeCompressionFormatArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn change_index_includes_timestamp_tool_attr() -> Tool
pub fn change_index_includes_timestamp_tool_attr() -> Tool
Generated tool metadata function for change_index_includes_timestamp
pub fn change_index_includes_timestamp( &self, params: Parameters<PackKeyBoolArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_pack_file_path_tool_attr() -> Tool
pub fn get_pack_file_path_tool_attr() -> Tool
Generated tool metadata function for get_pack_file_path
pub fn get_pack_file_path( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_pack_file_name_tool_attr() -> Tool
pub fn get_pack_file_name_tool_attr() -> Tool
Generated tool metadata function for get_pack_file_name
pub fn get_pack_file_name( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_pack_settings_tool_attr() -> Tool
pub fn get_pack_settings_tool_attr() -> Tool
Generated tool metadata function for get_pack_settings
pub fn get_pack_settings( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn set_pack_settings_tool_attr() -> Tool
pub fn set_pack_settings_tool_attr() -> Tool
Generated tool metadata function for set_pack_settings
pub fn set_pack_settings( &self, params: Parameters<SetPackSettingsArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_dependency_pack_files_list_tool_attr() -> Tool
pub fn get_dependency_pack_files_list_tool_attr() -> Tool
Generated tool metadata function for get_dependency_pack_files_list
pub fn get_dependency_pack_files_list( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn set_dependency_pack_files_list_tool_attr() -> Tool
pub fn set_dependency_pack_files_list_tool_attr() -> Tool
Generated tool metadata function for set_dependency_pack_files_list
pub fn set_dependency_pack_files_list( &self, params: Parameters<SetDependencyPackFilesListArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn decode_packed_file_tool_attr() -> Tool
pub fn decode_packed_file_tool_attr() -> Tool
Generated tool metadata function for decode_packed_file
pub fn decode_packed_file( &self, params: Parameters<DecodePackedFileArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn new_packed_file_tool_attr() -> Tool
pub fn new_packed_file_tool_attr() -> Tool
Generated tool metadata function for new_packed_file
pub fn new_packed_file( &self, params: Parameters<NewPackedFileArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_packed_files_tool_attr() -> Tool
pub fn add_packed_files_tool_attr() -> Tool
Generated tool metadata function for add_packed_files
pub fn add_packed_files( &self, params: Parameters<AddPackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_packed_files_from_pack_file_tool_attr() -> Tool
pub fn add_packed_files_from_pack_file_tool_attr() -> Tool
Generated tool metadata function for add_packed_files_from_pack_file
pub fn add_packed_files_from_pack_file( &self, params: Parameters<AddPackedFilesFromPackFileArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_packed_files_from_pack_file_to_animpack_tool_attr() -> Tool
pub fn add_packed_files_from_pack_file_to_animpack_tool_attr() -> Tool
Generated tool metadata function for add_packed_files_from_pack_file_to_animpack
pub fn add_packed_files_from_pack_file_to_animpack( &self, params: Parameters<AddPackedFilesFromPackFileToAnimpackArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_packed_files_from_animpack_tool_attr() -> Tool
pub fn add_packed_files_from_animpack_tool_attr() -> Tool
Generated tool metadata function for add_packed_files_from_animpack
pub fn add_packed_files_from_animpack( &self, params: Parameters<AddPackedFilesFromAnimpackArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn delete_packed_files_tool_attr() -> Tool
pub fn delete_packed_files_tool_attr() -> Tool
Generated tool metadata function for delete_packed_files
pub fn delete_packed_files( &self, params: Parameters<ContainerPathsArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn delete_from_animpack_tool_attr() -> Tool
pub fn delete_from_animpack_tool_attr() -> Tool
Generated tool metadata function for delete_from_animpack
pub fn delete_from_animpack( &self, params: Parameters<DeleteFromAnimpackArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn extract_packed_files_tool_attr() -> Tool
pub fn extract_packed_files_tool_attr() -> Tool
Generated tool metadata function for extract_packed_files
pub fn extract_packed_files( &self, params: Parameters<ExtractPackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn rename_packed_files_tool_attr() -> Tool
pub fn rename_packed_files_tool_attr() -> Tool
Generated tool metadata function for rename_packed_files
pub fn rename_packed_files( &self, params: Parameters<RenamePackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn copy_packed_files_tool_attr() -> Tool
pub fn copy_packed_files_tool_attr() -> Tool
Generated tool metadata function for copy_packed_files
pub fn copy_packed_files( &self, params: Parameters<CopyOrCutPackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn cut_packed_files_tool_attr() -> Tool
pub fn cut_packed_files_tool_attr() -> Tool
Generated tool metadata function for cut_packed_files
pub fn cut_packed_files( &self, params: Parameters<CopyOrCutPackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn paste_packed_files_tool_attr() -> Tool
pub fn paste_packed_files_tool_attr() -> Tool
Generated tool metadata function for paste_packed_files
pub fn paste_packed_files( &self, params: Parameters<PastePackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn duplicate_packed_files_tool_attr() -> Tool
pub fn duplicate_packed_files_tool_attr() -> Tool
Generated tool metadata function for duplicate_packed_files
pub fn duplicate_packed_files( &self, params: Parameters<DuplicatePackedFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_packed_file_from_view_tool_attr() -> Tool
pub fn save_packed_file_from_view_tool_attr() -> Tool
Generated tool metadata function for save_packed_file_from_view
pub fn save_packed_file_from_view( &self, params: Parameters<SavePackedFileFromViewArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_packed_file_from_external_view_tool_attr() -> Tool
pub fn save_packed_file_from_external_view_tool_attr() -> Tool
Generated tool metadata function for save_packed_file_from_external_view
pub fn save_packed_file_from_external_view( &self, params: Parameters<SavePackedFileFromExternalViewArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_packed_files_to_pack_file_and_clean_tool_attr() -> Tool
pub fn save_packed_files_to_pack_file_and_clean_tool_attr() -> Tool
Generated tool metadata function for save_packed_files_to_pack_file_and_clean
pub fn save_packed_files_to_pack_file_and_clean( &self, params: Parameters<SavePackedFilesToPackFileAndCleanArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_packed_file_raw_data_tool_attr() -> Tool
pub fn get_packed_file_raw_data_tool_attr() -> Tool
Generated tool metadata function for get_packed_file_raw_data
pub fn get_packed_file_raw_data( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn open_packed_file_in_external_program_tool_attr() -> Tool
pub fn open_packed_file_in_external_program_tool_attr() -> Tool
Generated tool metadata function for open_packed_file_in_external_program
pub fn open_packed_file_in_external_program( &self, params: Parameters<OpenPackedFileInExternalProgramArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn open_containing_folder_tool_attr() -> Tool
pub fn open_containing_folder_tool_attr() -> Tool
Generated tool metadata function for open_containing_folder
pub fn open_containing_folder( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn clean_cache_tool_attr() -> Tool
pub fn clean_cache_tool_attr() -> Tool
Generated tool metadata function for clean_cache
pub fn clean_cache( &self, params: Parameters<ContainerPathsArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn folder_exists_tool_attr() -> Tool
pub fn folder_exists_tool_attr() -> Tool
Generated tool metadata function for folder_exists
pub fn folder_exists( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn packed_file_exists_tool_attr() -> Tool
pub fn packed_file_exists_tool_attr() -> Tool
Generated tool metadata function for packed_file_exists
pub fn packed_file_exists( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_packed_files_info_tool_attr() -> Tool
pub fn get_packed_files_info_tool_attr() -> Tool
Generated tool metadata function for get_packed_files_info
pub fn get_packed_files_info( &self, params: Parameters<PackKeyStringsArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_rfile_info_tool_attr() -> Tool
pub fn get_rfile_info_tool_attr() -> Tool
Generated tool metadata function for get_rfile_info
pub fn get_rfile_info( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_game_selected_tool_attr() -> Tool
pub fn get_game_selected_tool_attr() -> Tool
Generated tool metadata function for get_game_selected
pub fn get_game_selected( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn set_game_selected_tool_attr() -> Tool
pub fn set_game_selected_tool_attr() -> Tool
Generated tool metadata function for set_game_selected
pub fn set_game_selected( &self, params: Parameters<SetGameSelectedArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn generate_dependencies_cache_tool_attr() -> Tool
pub fn generate_dependencies_cache_tool_attr() -> Tool
Generated tool metadata function for generate_dependencies_cache
pub fn generate_dependencies_cache( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn rebuild_dependencies_tool_attr() -> Tool
pub fn rebuild_dependencies_tool_attr() -> Tool
Generated tool metadata function for rebuild_dependencies
pub fn rebuild_dependencies( &self, params: Parameters<BoolArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn is_there_a_dependency_database_tool_attr() -> Tool
pub fn is_there_a_dependency_database_tool_attr() -> Tool
Generated tool metadata function for is_there_a_dependency_database
pub fn is_there_a_dependency_database( &self, params: Parameters<BoolArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_table_list_from_dependency_pack_file_tool_attr() -> Tool
pub fn get_table_list_from_dependency_pack_file_tool_attr() -> Tool
Generated tool metadata function for get_table_list_from_dependency_pack_file
pub fn get_table_list_from_dependency_pack_file( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_custom_table_list_tool_attr() -> Tool
pub fn get_custom_table_list_tool_attr() -> Tool
Generated tool metadata function for get_custom_table_list
pub fn get_custom_table_list( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_table_version_from_dependency_pack_file_tool_attr() -> Tool
pub fn get_table_version_from_dependency_pack_file_tool_attr() -> Tool
Generated tool metadata function for get_table_version_from_dependency_pack_file
pub fn get_table_version_from_dependency_pack_file( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_table_definition_from_dependency_pack_file_tool_attr() -> Tool
pub fn get_table_definition_from_dependency_pack_file_tool_attr() -> Tool
Generated tool metadata function for get_table_definition_from_dependency_pack_file
pub fn get_table_definition_from_dependency_pack_file( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_tables_from_dependencies_tool_attr() -> Tool
pub fn get_tables_from_dependencies_tool_attr() -> Tool
Generated tool metadata function for get_tables_from_dependencies
pub fn get_tables_from_dependencies( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn import_dependencies_to_open_pack_file_tool_attr() -> Tool
pub fn import_dependencies_to_open_pack_file_tool_attr() -> Tool
Generated tool metadata function for import_dependencies_to_open_pack_file
pub fn import_dependencies_to_open_pack_file( &self, params: Parameters<ImportDependenciesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_rfiles_from_all_sources_tool_attr() -> Tool
pub fn get_rfiles_from_all_sources_tool_attr() -> Tool
Generated tool metadata function for get_rfiles_from_all_sources
pub fn get_rfiles_from_all_sources( &self, params: Parameters<GetRFilesFromAllSourcesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_packed_files_names_starting_with_path_from_all_sources_tool_attr() -> Tool
pub fn get_packed_files_names_starting_with_path_from_all_sources_tool_attr() -> Tool
Generated tool metadata function for get_packed_files_names_starting_with_path_from_all_sources
pub fn get_packed_files_names_starting_with_path_from_all_sources( &self, params: Parameters<ContainerPathArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn local_art_set_ids_tool_attr() -> Tool
pub fn local_art_set_ids_tool_attr() -> Tool
Generated tool metadata function for local_art_set_ids
pub fn local_art_set_ids( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn dependencies_art_set_ids_tool_attr() -> Tool
pub fn dependencies_art_set_ids_tool_attr() -> Tool
Generated tool metadata function for dependencies_art_set_ids
pub fn dependencies_art_set_ids( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn global_search_tool_attr() -> Tool
pub fn global_search_tool_attr() -> Tool
Generated tool metadata function for global_search
pub fn global_search( &self, params: Parameters<GlobalSearchArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn global_search_replace_matches_tool_attr() -> Tool
pub fn global_search_replace_matches_tool_attr() -> Tool
Generated tool metadata function for global_search_replace_matches
pub fn global_search_replace_matches( &self, params: Parameters<GlobalSearchReplaceMatchesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn global_search_replace_all_tool_attr() -> Tool
pub fn global_search_replace_all_tool_attr() -> Tool
Generated tool metadata function for global_search_replace_all
pub fn global_search_replace_all( &self, params: Parameters<GlobalSearchArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn search_references_tool_attr() -> Tool
pub fn search_references_tool_attr() -> Tool
Generated tool metadata function for search_references
pub fn search_references( &self, params: Parameters<SearchReferencesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_reference_data_from_definition_tool_attr() -> Tool
pub fn get_reference_data_from_definition_tool_attr() -> Tool
Generated tool metadata function for get_reference_data_from_definition
pub fn get_reference_data_from_definition( &self, params: Parameters<GetReferenceDataFromDefinitionArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn go_to_definition_tool_attr() -> Tool
pub fn go_to_definition_tool_attr() -> Tool
Generated tool metadata function for go_to_definition
pub fn go_to_definition( &self, params: Parameters<GoToDefinitionArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn go_to_loc_tool_attr() -> Tool
pub fn go_to_loc_tool_attr() -> Tool
Generated tool metadata function for go_to_loc
pub fn go_to_loc( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_source_data_from_loc_key_tool_attr() -> Tool
pub fn get_source_data_from_loc_key_tool_attr() -> Tool
Generated tool metadata function for get_source_data_from_loc_key
pub fn get_source_data_from_loc_key( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_schema_tool_attr() -> Tool
pub fn save_schema_tool_attr() -> Tool
Generated tool metadata function for save_schema
pub fn save_schema( &self, params: Parameters<SaveSchemaArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_current_schema_from_asskit_tool_attr() -> Tool
pub fn update_current_schema_from_asskit_tool_attr() -> Tool
Generated tool metadata function for update_current_schema_from_asskit
pub fn update_current_schema_from_asskit( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_schemas_tool_attr() -> Tool
pub fn update_schemas_tool_attr() -> Tool
Generated tool metadata function for update_schemas
pub fn update_schemas( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn is_schema_loaded_tool_attr() -> Tool
pub fn is_schema_loaded_tool_attr() -> Tool
Generated tool metadata function for is_schema_loaded
pub fn is_schema_loaded( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_schema_tool_attr() -> Tool
pub fn get_schema_tool_attr() -> Tool
Generated tool metadata function for get_schema
pub fn get_schema( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn definitions_by_table_name_tool_attr() -> Tool
pub fn definitions_by_table_name_tool_attr() -> Tool
Generated tool metadata function for definitions_by_table_name
pub fn definitions_by_table_name( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn definition_by_table_name_and_version_tool_attr() -> Tool
pub fn definition_by_table_name_and_version_tool_attr() -> Tool
Generated tool metadata function for definition_by_table_name_and_version
pub fn definition_by_table_name_and_version( &self, params: Parameters<StringI32Args>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn delete_definition_tool_attr() -> Tool
pub fn delete_definition_tool_attr() -> Tool
Generated tool metadata function for delete_definition
pub fn delete_definition( &self, params: Parameters<StringI32Args>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn referencing_columns_for_definition_tool_attr() -> Tool
pub fn referencing_columns_for_definition_tool_attr() -> Tool
Generated tool metadata function for referencing_columns_for_definition
pub fn referencing_columns_for_definition( &self, params: Parameters<ReferencingColumnsForDefinitionArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn fields_processed_tool_attr() -> Tool
pub fn fields_processed_tool_attr() -> Tool
Generated tool metadata function for fields_processed
pub fn fields_processed( &self, params: Parameters<DefinitionArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn save_local_schema_patch_tool_attr() -> Tool
pub fn save_local_schema_patch_tool_attr() -> Tool
Generated tool metadata function for save_local_schema_patch
pub fn save_local_schema_patch( &self, params: Parameters<SchemaPatchArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn remove_local_schema_patches_for_table_tool_attr() -> Tool
pub fn remove_local_schema_patches_for_table_tool_attr() -> Tool
Generated tool metadata function for remove_local_schema_patches_for_table
pub fn remove_local_schema_patches_for_table( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn remove_local_schema_patches_for_table_and_field_tool_attr() -> Tool
pub fn remove_local_schema_patches_for_table_and_field_tool_attr() -> Tool
Generated tool metadata function for remove_local_schema_patches_for_table_and_field
pub fn remove_local_schema_patches_for_table_and_field( &self, params: Parameters<SettingsSetStringArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn import_schema_patch_tool_attr() -> Tool
pub fn import_schema_patch_tool_attr() -> Tool
Generated tool metadata function for import_schema_patch
pub fn import_schema_patch( &self, params: Parameters<SchemaPatchArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn merge_files_tool_attr() -> Tool
pub fn merge_files_tool_attr() -> Tool
Generated tool metadata function for merge_files
pub fn merge_files( &self, params: Parameters<MergeFilesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_table_tool_attr() -> Tool
pub fn update_table_tool_attr() -> Tool
Generated tool metadata function for update_table
pub fn update_table( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn cascade_edition_tool_attr() -> Tool
pub fn cascade_edition_tool_attr() -> Tool
Generated tool metadata function for cascade_edition
pub fn cascade_edition( &self, params: Parameters<CascadeEditionArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_tables_by_table_name_tool_attr() -> Tool
pub fn get_tables_by_table_name_tool_attr() -> Tool
Generated tool metadata function for get_tables_by_table_name
pub fn get_tables_by_table_name( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_keys_to_key_deletes_tool_attr() -> Tool
pub fn add_keys_to_key_deletes_tool_attr() -> Tool
Generated tool metadata function for add_keys_to_key_deletes
pub fn add_keys_to_key_deletes( &self, params: Parameters<AddKeysToKeyDeletesArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn export_tsv_tool_attr() -> Tool
pub fn export_tsv_tool_attr() -> Tool
Generated tool metadata function for export_tsv
pub fn export_tsv( &self, params: Parameters<TsvExportArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn import_tsv_tool_attr() -> Tool
pub fn import_tsv_tool_attr() -> Tool
Generated tool metadata function for import_tsv
pub fn import_tsv( &self, params: Parameters<TsvImportArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn diagnostics_check_tool_attr() -> Tool
pub fn diagnostics_check_tool_attr() -> Tool
Generated tool metadata function for diagnostics_check
pub fn diagnostics_check( &self, params: Parameters<DiagnosticsCheckArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn diagnostics_update_tool_attr() -> Tool
pub fn diagnostics_update_tool_attr() -> Tool
Generated tool metadata function for diagnostics_update
pub fn diagnostics_update( &self, params: Parameters<DiagnosticsUpdateArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_line_to_pack_ignored_diagnostics_tool_attr() -> Tool
pub fn add_line_to_pack_ignored_diagnostics_tool_attr() -> Tool
Generated tool metadata function for add_line_to_pack_ignored_diagnostics
pub fn add_line_to_pack_ignored_diagnostics( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_missing_definitions_tool_attr() -> Tool
pub fn get_missing_definitions_tool_attr() -> Tool
Generated tool metadata function for get_missing_definitions
pub fn get_missing_definitions( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn notes_for_path_tool_attr() -> Tool
pub fn notes_for_path_tool_attr() -> Tool
Generated tool metadata function for notes_for_path
pub fn notes_for_path( &self, params: Parameters<PackKeyStringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn add_note_tool_attr() -> Tool
pub fn add_note_tool_attr() -> Tool
Generated tool metadata function for add_note
pub fn add_note( &self, params: Parameters<AddNoteArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn delete_note_tool_attr() -> Tool
pub fn delete_note_tool_attr() -> Tool
Generated tool metadata function for delete_note
pub fn delete_note( &self, params: Parameters<DeleteNoteArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn optimize_pack_file_tool_attr() -> Tool
pub fn optimize_pack_file_tool_attr() -> Tool
Generated tool metadata function for optimize_pack_file
pub fn optimize_pack_file( &self, params: Parameters<OptimizePackFileArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_optimizer_options_tool_attr() -> Tool
pub fn get_optimizer_options_tool_attr() -> Tool
Generated tool metadata function for get_optimizer_options
pub fn get_optimizer_options( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn check_updates_tool_attr() -> Tool
pub fn check_updates_tool_attr() -> Tool
Generated tool metadata function for check_updates
pub fn check_updates( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn check_schema_updates_tool_attr() -> Tool
pub fn check_schema_updates_tool_attr() -> Tool
Generated tool metadata function for check_schema_updates
pub fn check_schema_updates( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn check_lua_autogen_updates_tool_attr() -> Tool
pub fn check_lua_autogen_updates_tool_attr() -> Tool
Generated tool metadata function for check_lua_autogen_updates
pub fn check_lua_autogen_updates( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn check_empire_and_napoleon_ak_updates_tool_attr() -> Tool
pub fn check_empire_and_napoleon_ak_updates_tool_attr() -> Tool
Generated tool metadata function for check_empire_and_napoleon_ak_updates
pub fn check_empire_and_napoleon_ak_updates( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn check_translations_updates_tool_attr() -> Tool
pub fn check_translations_updates_tool_attr() -> Tool
Generated tool metadata function for check_translations_updates
pub fn check_translations_updates( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_lua_autogen_tool_attr() -> Tool
pub fn update_lua_autogen_tool_attr() -> Tool
Generated tool metadata function for update_lua_autogen
pub fn update_lua_autogen( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_main_program_tool_attr() -> Tool
pub fn update_main_program_tool_attr() -> Tool
Generated tool metadata function for update_main_program
pub fn update_main_program( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_empire_and_napoleon_ak_tool_attr() -> Tool
pub fn update_empire_and_napoleon_ak_tool_attr() -> Tool
Generated tool metadata function for update_empire_and_napoleon_ak
pub fn update_empire_and_napoleon_ak( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_translations_tool_attr() -> Tool
pub fn update_translations_tool_attr() -> Tool
Generated tool metadata function for update_translations
pub fn update_translations( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_bool_tool_attr() -> Tool
pub fn settings_get_bool_tool_attr() -> Tool
Generated tool metadata function for settings_get_bool
pub fn settings_get_bool( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_i32_tool_attr() -> Tool
pub fn settings_get_i32_tool_attr() -> Tool
Generated tool metadata function for settings_get_i32
pub fn settings_get_i32( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_f32_tool_attr() -> Tool
pub fn settings_get_f32_tool_attr() -> Tool
Generated tool metadata function for settings_get_f32
pub fn settings_get_f32( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_string_tool_attr() -> Tool
pub fn settings_get_string_tool_attr() -> Tool
Generated tool metadata function for settings_get_string
pub fn settings_get_string( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_path_buf_tool_attr() -> Tool
pub fn settings_get_path_buf_tool_attr() -> Tool
Generated tool metadata function for settings_get_path_buf
pub fn settings_get_path_buf( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_vec_string_tool_attr() -> Tool
pub fn settings_get_vec_string_tool_attr() -> Tool
Generated tool metadata function for settings_get_vec_string
pub fn settings_get_vec_string( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_vec_raw_tool_attr() -> Tool
pub fn settings_get_vec_raw_tool_attr() -> Tool
Generated tool metadata function for settings_get_vec_raw
pub fn settings_get_vec_raw( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_get_all_tool_attr() -> Tool
pub fn settings_get_all_tool_attr() -> Tool
Generated tool metadata function for settings_get_all
pub fn settings_get_all( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_bool_tool_attr() -> Tool
pub fn settings_set_bool_tool_attr() -> Tool
Generated tool metadata function for settings_set_bool
pub fn settings_set_bool( &self, params: Parameters<SettingsSetBoolArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_i32_tool_attr() -> Tool
pub fn settings_set_i32_tool_attr() -> Tool
Generated tool metadata function for settings_set_i32
pub fn settings_set_i32( &self, params: Parameters<SettingsSetI32Args>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_f32_tool_attr() -> Tool
pub fn settings_set_f32_tool_attr() -> Tool
Generated tool metadata function for settings_set_f32
pub fn settings_set_f32( &self, params: Parameters<SettingsSetF32Args>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_string_tool_attr() -> Tool
pub fn settings_set_string_tool_attr() -> Tool
Generated tool metadata function for settings_set_string
pub fn settings_set_string( &self, params: Parameters<SettingsSetStringArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_path_buf_tool_attr() -> Tool
pub fn settings_set_path_buf_tool_attr() -> Tool
Generated tool metadata function for settings_set_path_buf
pub fn settings_set_path_buf( &self, params: Parameters<SettingsSetPathBufArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_vec_string_tool_attr() -> Tool
pub fn settings_set_vec_string_tool_attr() -> Tool
Generated tool metadata function for settings_set_vec_string
pub fn settings_set_vec_string( &self, params: Parameters<SettingsSetVecStringArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_set_vec_raw_tool_attr() -> Tool
pub fn settings_set_vec_raw_tool_attr() -> Tool
Generated tool metadata function for settings_set_vec_raw
pub fn settings_set_vec_raw( &self, params: Parameters<SettingsSetVecRawArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn backup_settings_tool_attr() -> Tool
pub fn backup_settings_tool_attr() -> Tool
Generated tool metadata function for backup_settings
pub fn backup_settings( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn clear_settings_tool_attr() -> Tool
pub fn clear_settings_tool_attr() -> Tool
Generated tool metadata function for clear_settings
pub fn clear_settings( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn restore_backup_settings_tool_attr() -> Tool
pub fn restore_backup_settings_tool_attr() -> Tool
Generated tool metadata function for restore_backup_settings
pub fn restore_backup_settings( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn config_path_tool_attr() -> Tool
pub fn config_path_tool_attr() -> Tool
Generated tool metadata function for config_path
pub fn config_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn assembly_kit_path_tool_attr() -> Tool
pub fn assembly_kit_path_tool_attr() -> Tool
Generated tool metadata function for assembly_kit_path
pub fn assembly_kit_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn backup_autosave_path_tool_attr() -> Tool
pub fn backup_autosave_path_tool_attr() -> Tool
Generated tool metadata function for backup_autosave_path
pub fn backup_autosave_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn old_ak_data_path_tool_attr() -> Tool
pub fn old_ak_data_path_tool_attr() -> Tool
Generated tool metadata function for old_ak_data_path
pub fn old_ak_data_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn schemas_path_tool_attr() -> Tool
pub fn schemas_path_tool_attr() -> Tool
Generated tool metadata function for schemas_path
pub fn schemas_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn table_profiles_path_tool_attr() -> Tool
pub fn table_profiles_path_tool_attr() -> Tool
Generated tool metadata function for table_profiles_path
pub fn table_profiles_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn translations_local_path_tool_attr() -> Tool
pub fn translations_local_path_tool_attr() -> Tool
Generated tool metadata function for translations_local_path
pub fn translations_local_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn dependencies_cache_path_tool_attr() -> Tool
pub fn dependencies_cache_path_tool_attr() -> Tool
Generated tool metadata function for dependencies_cache_path
pub fn dependencies_cache_path( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn settings_clear_path_tool_attr() -> Tool
pub fn settings_clear_path_tool_attr() -> Tool
Generated tool metadata function for settings_clear_path
pub fn settings_clear_path( &self, params: Parameters<PathArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn open_pack_info_tool_attr() -> Tool
pub fn open_pack_info_tool_attr() -> Tool
Generated tool metadata function for open_pack_info
pub fn open_pack_info( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn initialize_my_mod_folder_tool_attr() -> Tool
pub fn initialize_my_mod_folder_tool_attr() -> Tool
Generated tool metadata function for initialize_my_mod_folder
pub fn initialize_my_mod_folder( &self, params: Parameters<InitializeMyModFolderArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn live_export_tool_attr() -> Tool
pub fn live_export_tool_attr() -> Tool
Generated tool metadata function for live_export
pub fn live_export( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn patch_siege_ai_tool_attr() -> Tool
pub fn patch_siege_ai_tool_attr() -> Tool
Generated tool metadata function for patch_siege_ai
pub fn patch_siege_ai( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn pack_map_tool_attr() -> Tool
pub fn pack_map_tool_attr() -> Tool
Generated tool metadata function for pack_map
pub fn pack_map( &self, params: Parameters<PackMapArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn generate_missing_loc_data_tool_attr() -> Tool
pub fn generate_missing_loc_data_tool_attr() -> Tool
Generated tool metadata function for generate_missing_loc_data
pub fn generate_missing_loc_data( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_pack_translation_tool_attr() -> Tool
pub fn get_pack_translation_tool_attr() -> Tool
Generated tool metadata function for get_pack_translation
pub fn get_pack_translation( &self, params: Parameters<GetPackTranslationArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn build_starpos_get_campaign_ids_tool_attr() -> Tool
pub fn build_starpos_get_campaign_ids_tool_attr() -> Tool
Generated tool metadata function for build_starpos_get_campaign_ids
pub fn build_starpos_get_campaign_ids( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn build_starpos_check_victory_conditions_tool_attr() -> Tool
pub fn build_starpos_check_victory_conditions_tool_attr() -> Tool
Generated tool metadata function for build_starpos_check_victory_conditions
pub fn build_starpos_check_victory_conditions( &self, params: Parameters<PackKeyArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn build_starpos_tool_attr() -> Tool
pub fn build_starpos_tool_attr() -> Tool
Generated tool metadata function for build_starpos
pub fn build_starpos( &self, params: Parameters<BuildStarposArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn build_starpos_post_tool_attr() -> Tool
pub fn build_starpos_post_tool_attr() -> Tool
Generated tool metadata function for build_starpos_post
pub fn build_starpos_post( &self, params: Parameters<BuildStarposArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn build_starpos_cleanup_tool_attr() -> Tool
pub fn build_starpos_cleanup_tool_attr() -> Tool
Generated tool metadata function for build_starpos_cleanup
pub fn build_starpos_cleanup( &self, params: Parameters<BuildStarposArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn update_anim_ids_tool_attr() -> Tool
pub fn update_anim_ids_tool_attr() -> Tool
Generated tool metadata function for update_anim_ids
pub fn update_anim_ids( &self, params: Parameters<UpdateAnimIdsArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn get_anim_paths_by_skeleton_name_tool_attr() -> Tool
pub fn get_anim_paths_by_skeleton_name_tool_attr() -> Tool
Generated tool metadata function for get_anim_paths_by_skeleton_name
pub fn get_anim_paths_by_skeleton_name( &self, params: Parameters<StringArg>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn export_rigid_to_gltf_tool_attr() -> Tool
pub fn export_rigid_to_gltf_tool_attr() -> Tool
Generated tool metadata function for export_rigid_to_gltf
pub fn export_rigid_to_gltf( &self, params: Parameters<ExportRigidToGltfArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn set_video_format_tool_attr() -> Tool
pub fn set_video_format_tool_attr() -> Tool
Generated tool metadata function for set_video_format
pub fn set_video_format( &self, params: Parameters<SetVideoFormatArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn list_open_packs_tool_attr() -> Tool
pub fn list_open_packs_tool_attr() -> Tool
Generated tool metadata function for list_open_packs
pub fn list_open_packs( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
Sourcepub fn close_all_packs_tool_attr() -> Tool
pub fn close_all_packs_tool_attr() -> Tool
Generated tool metadata function for close_all_packs
pub fn close_all_packs( &self, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, McpError>> + Send + '_>>
fn tool_router() -> ToolRouter<Self>
Source§impl McpServer
impl McpServer
pub fn open_and_inspect_pack_prompt_attr() -> Prompt
pub fn open_and_inspect_pack( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn edit_db_table_prompt_attr() -> Prompt
pub fn edit_db_table( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn create_new_mod_prompt_attr() -> Prompt
pub fn create_new_mod( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn search_and_replace_prompt_attr() -> Prompt
pub fn search_and_replace( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn manage_dependencies_prompt_attr() -> Prompt
pub fn manage_dependencies( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn run_diagnostics_prompt_attr() -> Prompt
pub fn run_diagnostics( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn schema_operations_prompt_attr() -> Prompt
pub fn schema_operations( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn file_operations_prompt_attr() -> Prompt
pub fn file_operations( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn troubleshooting_prompt_attr() -> Prompt
pub fn troubleshooting( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn tsv_workflow_prompt_attr() -> Prompt
pub fn tsv_workflow( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
pub fn translation_workflow_prompt_attr() -> Prompt
pub fn translation_workflow( &self, ) -> Pin<Box<dyn Future<Output = Vec<PromptMessage>> + Send + '_>>
fn prompt_router() -> PromptRouter<McpServer>
Trait Implementations§
Source§impl ServerHandler for McpServer
impl ServerHandler for McpServer
fn get_info(&self) -> ServerInfo
async fn list_resources( &self, _request: Option<PaginatedRequestParam>, _context: RequestContext<RoleServer>, ) -> Result<ListResourcesResult, McpError>
async fn list_resource_templates( &self, _request: Option<PaginatedRequestParam>, _context: RequestContext<RoleServer>, ) -> Result<ListResourceTemplatesResult, McpError>
async fn read_resource( &self, request: ReadResourceRequestParam, _context: RequestContext<RoleServer>, ) -> Result<ReadResourceResult, McpError>
async fn complete( &self, request: CompleteRequestParam, _context: RequestContext<RoleServer>, ) -> Result<CompleteResult, McpError>
async fn set_level( &self, _request: SetLevelRequestParam, _context: RequestContext<RoleServer>, ) -> Result<(), McpError>
async fn call_tool( &self, request: CallToolRequestParam, context: RequestContext<RoleServer>, ) -> Result<CallToolResult, ErrorData>
async fn list_tools( &self, _request: Option<PaginatedRequestParam>, _context: RequestContext<RoleServer>, ) -> Result<ListToolsResult, ErrorData>
async fn get_prompt( &self, request: GetPromptRequestParam, context: RequestContext<RoleServer>, ) -> Result<GetPromptResult, ErrorData>
async fn list_prompts( &self, _request: Option<PaginatedRequestParam>, _context: RequestContext<RoleServer>, ) -> Result<ListPromptsResult, ErrorData>
fn ping( &self, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + Send
fn initialize( &self, request: InitializeRequestParam, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<InitializeResult, ErrorData>> + Send
fn subscribe( &self, request: SubscribeRequestParam, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + Send
fn unsubscribe( &self, request: UnsubscribeRequestParam, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + Send
fn on_custom_request( &self, request: CustomRequest, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<CustomResult, ErrorData>> + Send
fn on_cancelled( &self, notification: CancelledNotificationParam, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + Send
fn on_progress( &self, notification: ProgressNotificationParam, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + Send
fn on_initialized( &self, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + Send
fn on_roots_list_changed( &self, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + Send
fn on_custom_notification( &self, notification: CustomNotification, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + Send
Auto Trait Implementations§
impl Freeze for McpServer
impl !RefUnwindSafe for McpServer
impl Send for McpServer
impl Sync for McpServer
impl Unpin for McpServer
impl UnsafeUnpin for McpServer
impl !UnwindSafe for McpServer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<R, S> DynService<R> for Swhere
R: ServiceRole,
S: Service<R>,
impl<R, S> DynService<R> for Swhere
R: ServiceRole,
S: Service<R>,
fn handle_request( &self, request: <R as ServiceRole>::PeerReq, context: RequestContext<R>, ) -> Pin<Box<dyn Future<Output = Result<<R as ServiceRole>::Resp, ErrorData>> + Send + '_>>
fn handle_notification( &self, notification: <R as ServiceRole>::PeerNot, context: NotificationContext<R>, ) -> Pin<Box<dyn Future<Output = Result<(), ErrorData>> + Send + '_>>
fn get_info(&self) -> <R as ServiceRole>::Info
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<H> Service<RoleServer> for Hwhere
H: ServerHandler,
impl<H> Service<RoleServer> for Hwhere
H: ServerHandler,
async fn handle_request( &self, request: <RoleServer as ServiceRole>::PeerReq, context: RequestContext<RoleServer>, ) -> Result<<RoleServer as ServiceRole>::Resp, ErrorData>
async fn handle_notification( &self, notification: <RoleServer as ServiceRole>::PeerNot, context: NotificationContext<RoleServer>, ) -> Result<(), ErrorData>
fn get_info(&self) -> <RoleServer as ServiceRole>::Info
§impl<S> ServiceExt<RoleServer> for Swhere
S: Service<RoleServer>,
impl<S> ServiceExt<RoleServer> for Swhere
S: Service<RoleServer>,
fn serve_with_ct<T, E, A>( self, transport: T, ct: CancellationToken, ) -> impl Future<Output = Result<RunningService<RoleServer, S>, ServerInitializeError>> + Send
§fn into_dyn(self) -> Box<dyn DynService<R>>
fn into_dyn(self) -> Box<dyn DynService<R>>
fn serve<T, E, A>( self, transport: T, ) -> impl Future<Output = Result<RunningService<R, Self>, <R as ServiceRole>::InitializeError>> + Send
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.