Cellosaurus 工具¶
配置文件: cellosaurus_tools.json 工具类型: 本地 工具数量: 3
本页面包含在``cellosaurus_tools.json``配置文件中定义的所有工具。
可用工具¶
**cellosaurus_get_cell_line_info**(类型:CellosaurusGetCellLineInfoTool)¶
使用其Cellosaurus登录号(CVCL_…),获取有关特定细胞系的详细信息。
cellosaurus_get_cell_line_info 工具规范
工具信息:
名称:
cellosaurus_get_cell_line_info类型:
CellosaurusGetCellLineInfoTool描述:使用其Cellosaurus登录号(CVCL_格式)获取有关特定细胞系的详细信息。
参数:
format(string) (optional) Response formatfields(array) (optional) Specific fields to retrieve (e.g., [‘id’, ‘ox’, ‘char’]). If not specified, all fields are returned.
示例用法:
query = {
"name": "cellosaurus_get_cell_line_info",
"arguments": {
"accession": "example_value"
}
}
result = tu.run(query)
**cellosaurus_query_converter**(类型:CellosaurusQueryConverterTool)¶
将自然语言查询转换为Solr语法,用于Cellosaurus API搜索。使用语义相似性…
cellosaurus_query_converter 工具规范
工具信息:
名称:
cellosaurus_query_converter类型:
CellosaurusQueryConverterTool描述:将自然语言查询转换为适用于Cellosaurus API搜索的Solr语法。使用语义相似性将术语映射到适当的字段。
参数:
``query``(字符串)(必填)将自然语言查询转换为 Solr 语法(例如:“人类癌细胞”、“来自肺组织的 HeLa 细胞”)
include_explanation(boolean) (optional) Whether to include detailed explanation of the conversion process
示例用法:
query = {
"name": "cellosaurus_query_converter",
"arguments": {
"query": "example_value"
}
}
result = tu.run(query)
**cellosaurus_search_cell_lines**(类型:CellosaurusSearchTool)¶
使用 /search/cell-line 端点搜索 Cellosaurus 细胞系。支持 Solr 查询语法。
cellosaurus_search_cell_lines 工具规范
工具信息:
名称:
cellosaurus_search_cell_lines类型:
CellosaurusSearchTool描述:使用 /search/cell-line 端点搜索 Cellosaurus 细胞系。支持 Solr 查询语法以实现基于字段的精确搜索。
参数:
``q``(字符串)(必填)搜索查询。支持 Solr 语法进行字段特定搜索(例如:’id:HeLa’、’ox:9606’、’char:cancer’)。可访问 https://api.cellosaurus.org/api-fields 查看可用字段。
offset(integer) (optional) Number of results to skip (for pagination)size(integer) (optional) Maximum number of results to return
示例用法:
query = {
"name": "cellosaurus_search_cell_lines",
"arguments": {
"q": "example_value"
}
}
result = tu.run(query)