| 12345678910111213141516171819202122232425262728 |
- """
- -----------------------------------------------------------------------------------------
- INTERSEL - 4 cité d'Hauteville - 75010 PARIS
- RCS PARIS 488 379 660 - NAF 721Z
- File : tools/resource/__init__.py
- Object : Resource tools for the MCP server
- -----------------------------------------------------------------------------------------
- Modifications :
- - 2026/01/16 - Damien Lugagne-Delpon - V1.0.0- Creation
- -----------------------------------------------------------------------------------------
- @copyright : Intersel 2026
- @author : Damien Lugagne-Delpon - damien.lugagne-delpon@livinweb.fr
- @version : 1.0.0 (to be updated to the current_version of the developed software if file is touched)
- -----------------------------------------------------------------------------------------
- """
- from ..tool_class import Tool
- class ResourceTool(Tool):
- """Resource tool for the MCP server."""
- def __init__(self, name: str, description: str = "", remarks: str = "", parameters: dict = {}, handler=None):
- """Initialize the resource tool."""
- super().__init__(name, description, remarks, parameters, handler)
-
-
|