File size: 2,445 Bytes
11f4e59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
description = [
    {
        "description": "Search protocols.io for public protocols matching a keyword.",
        "name": "search_protocols",
        "optional_parameters": [],
        "required_parameters": [
            {
                "default": None,
                "description": "Most important keyword or phrase to search (title, description, authors)",
                "name": "query",
                "type": "str",
            }
        ],
    },
    {
        "description": "Retrieve detailed metadata for a specific protocols.io protocol by ID.",
        "name": "get_protocol_details",
        "optional_parameters": [
            {
                "default": 30,
                "description": "Request timeout in seconds",
                "name": "timeout",
                "type": "int",
            }
        ],
        "required_parameters": [
            {
                "default": None,
                "description": "Numeric protocol ID from protocols.io",
                "name": "protocol_id",
                "type": "int",
            }
        ],
    },
    {
        "description": "List available protocol files in the local biomni/tool/protocols/ directory. Includes protocols from Addgene and Thermo Fisher Scientific.",
        "name": "list_local_protocols",
        "optional_parameters": [
            {
                "default": None,
                "description": "Filter by source directory (e.g., 'addgene' or 'thermofisher'). If None, lists all protocols.",
                "name": "source",
                "type": "str",
            }
        ],
        "required_parameters": [],
    },
    {
        "description": "Read the contents of a local protocol file from biomni/tool/protocols/. Use list_local_protocols() first to find available protocol filenames.",
        "name": "read_local_protocol",
        "optional_parameters": [
            {
                "default": None,
                "description": "Source directory (e.g., 'addgene' or 'thermofisher'). If None, searches all sources.",
                "name": "source",
                "type": "str",
            }
        ],
        "required_parameters": [
            {
                "default": None,
                "description": "Name of the protocol file (e.g., 'Addgene_ Protocol - How to Run an Agarose Gel.txt')",
                "name": "filename",
                "type": "str",
            }
        ],
    },
]