Tools Module#
- class isek.tools.toolkit.SimpleFunction(name: str, entrypoint: Callable, description: str | None = None, parameters: Dict[str, Any] | None = None)[source]#
Bases:
object
Ultra-simplified function wrapper.
- class isek.tools.toolkit.Toolkit(name: str = 'toolkit', tools: List[Callable] | None = None, instructions: str | None = None, auto_register: bool = True, debug: bool = False)[source]#
Bases:
object
Ultra-simplified Toolkit class with minimal features.
- get_function(name: str) SimpleFunction | None [source]#
Get a function by name.
- class isek.tools.fastmcp_toolkit.FastMCPToolkit(server_source: str, name: str = 'fastmcp', timeout: float = 30.0, auto_register: bool = True, debug: bool = False, auth_token: str | None = None)[source]#
Bases:
Toolkit
FastMCP-based toolkit for MCP server integration. Provides simplified access to MCP tools with automatic discovery and registration.
- call_tool(tool_name: str, **kwargs) Any [source]#
Call a specific MCP tool.
- Parameters:
tool_name -- Name of the tool to call
**kwargs -- Arguments to pass to the tool
- Returns:
Tool execution result