omicverse.utils.biocontext.call_tool

omicverse.utils.biocontext.call_tool(tool_name, **kwargs)[source]

Call any BioContext MCP tool by name.

Parameters:
  • tool_name (str) – The BioContext tool name (e.g. 'get_uniprot_protein_info').

  • **kwargs (Any) – Tool-specific arguments.

Returns:

Tool result, automatically parsed from JSON when possible.

Return type:

dict or str