Initialize and register all function-based tools
()
| 24 | |
| 25 | |
| 26 | def init_tools(): |
| 27 | """Initialize and register all function-based tools""" |
| 28 | register_tool(CALCULATOR_TOOL_DEFINITION, calculate) |
| 29 | register_tool(QUERY2SMILES_TOOL, query2smiles) |
| 30 | register_tool(PATENT_CHECK_TOOL, patent_check) |
| 31 | register_tool(MODIFY_MOL_TOOL, modify_mol) |
| 32 | register_tool(ACADEMIC_SEARCH_TOOL, academic_search) |
| 33 | logger.info("Function tools registered") |
| 34 | |
| 35 | |
| 36 | async def init_mcp_tools( |
no test coverage detected