Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(self, llm_config: LLMConfig, name_suffix=''):
sync_tools=[
'add_hydrogens',
'generate_ordered_replicas',
'remove_solvents',
'build_bulk_structure_by_template',
'build_bulk_structure_by_wyckoff',
'make_supercell_structure',
Expand Down
21 changes: 21 additions & 0 deletions agents/matmaster_agent/sub_agents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,27 @@
'bypass_confirmation': True,
'self_check': False,
},
'remove_solvents': {
'belonging_agent': StructureGenerateAgentName,
'scene': [SceneEnum.STRUCTURE_GENERATE, SceneEnum.STRUCTURE_SANITIZE],
'description': (
'What it does: Remove specified solvent molecules from a molecular crystal structure.\n'
'When to use: When desolvating molecular crystals to obtain solvent-free or partially desolvated structures for analysis or simulation.\n'
'Prerequisites / Inputs: CIF structure file containing identifiable solvent molecules; target solvent names or formulas.\n'
'Outputs: Path to the desolvated structure file.\n'
'Cannot do / Limits: Only removes whole solvent molecules that can be identified by composition; does not modify framework atoms or resolve disorder.\n'
'Prior step: It is recommended to call get_structure_info first to inspect molecular components and confirm solvent identities.\n'
'Cost / Notes: Low. Recommended to inspect molecular components first.'
),
'args_setting': (
'Parameter guidance: structure_path: Required. Input CIF file containing solvent molecules. '
'output_file: Required. Path to save the desolvated structure. '
'targets: Required. List of solvent names or chemical formulas to remove (e.g., "H2O", "DMF"). '
),
'alternative': [],
'bypass_confirmation': True,
'self_check': False,
},
'run_superconductor_optimization': {
'belonging_agent': SuperconductorAgentName,
'scene': [SceneEnum.SUPERCONDUCTOR],
Expand Down
Loading