ls_ccc_method
List available cell-cell communication analysis methods for single-cell RNA sequencing data to identify biological interactions.
Instructions
List cell-cell communication method.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/scmcp/tool/ccc.py:49-50 (handler)The handler function that lists available cell-cell communication methods by calling liana.mt.show_methods() and converting the result to a string.
def ls_ccc_method(): return str(li.mt.show_methods()) - src/scmcp/schema/ccc.py:6-8 (schema)Pydantic model defining the input schema for the ls_ccc_method tool. It is empty since the tool requires no input parameters.
class ListCCCMethodModel(JSONParsingModel): """ListCCCMethodModel""" pass - src/scmcp/tool/ccc.py:15-19 (registration)Definition of the MCP Tool object for 'ls_ccc_method', including name, description, and input schema.
ls_ccc_method_tool = types.Tool( name="ls_ccc_method", description="List cell-cell communication method.", inputSchema=ListCCCMethodModel.model_json_schema(), ) - src/scmcp/tool/ccc.py:92-98 (registration)Dictionary registering the handler function for 'ls_ccc_method' (and other CCC tools) to be used in the dispatcher.
ccc_func = { "ls_ccc_method": ls_ccc_method, "ccc_rank_aggregate": li.mt.rank_aggregate, "ccc_circle_plot": plot_circleplot, "ccc_dot_plot": plot_dotplot, "ccc": run_ccc, } - src/scmcp/tool/ccc.py:100-106 (registration)Dictionary registering the Tool objects for 'ls_ccc_method' (and other CCC tools), used by the MCP server for listing and calling.
ccc_tools = { "ls_ccc_method": ls_ccc_method_tool, "ccc_rank_aggregate": rank_aggregate_tool, "ccc_circle_plot": circle_plot_tool, "ccc_dot_plot": dot_plot_tool, "ccc": ccc_tool, }