Spaces:
Sleeping
Sleeping
| """ | |
| Tools module for PowerPoint MCP Server | |
| Contains all the tool registration functions | |
| """ | |
| # Placeholder imports - in real implementation, these would import from actual tool modules | |
| # For this modular example, we're showing the structure | |
| def register_presentation_tools(mcp_app, presentations, get_current_presentation_id, get_template_search_directories): | |
| """Register presentation management tools""" | |
| # This would contain the actual tool registrations | |
| pass | |
| def register_content_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register content management tools""" | |
| pass | |
| def register_structural_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb, add_shape_direct): | |
| """Register structural element tools""" | |
| pass | |
| def register_professional_tools(mcp_app, presentations, get_current_presentation_id): | |
| """Register professional design tools""" | |
| pass | |
| def register_template_tools(mcp_app, presentations, get_current_presentation_id): | |
| """Register template operation tools""" | |
| pass | |
| def register_hyperlink_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register hyperlink management tools""" | |
| pass | |
| def register_chart_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register chart tools""" | |
| pass | |
| def register_connector_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register connector tools""" | |
| pass | |
| def register_master_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register slide master tools""" | |
| pass | |
| def register_transition_tools(mcp_app, presentations, get_current_presentation_id, | |
| validate_parameters, is_positive, is_non_negative, is_in_range, is_valid_rgb): | |
| """Register transition tools""" | |
| pass | |
| # Export all registration functions | |
| __all__ = [ | |
| 'register_presentation_tools', | |
| 'register_content_tools', | |
| 'register_structural_tools', | |
| 'register_professional_tools', | |
| 'register_template_tools', | |
| 'register_hyperlink_tools', | |
| 'register_chart_tools', | |
| 'register_connector_tools', | |
| 'register_master_tools', | |
| 'register_transition_tools' | |
| ] | |