bedrock_converse_tool() — langchain Function Reference
Architecture documentation for the bedrock_converse_tool() function in test_function_calling.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 3a4b7833_350c_526b_a728_6ea94d09d8b3["bedrock_converse_tool()"] 6f1e8e6f_d3f9_e590_b17e_1dc8afafdbe0["test_function_calling.py"] 3a4b7833_350c_526b_a728_6ea94d09d8b3 -->|defined in| 6f1e8e6f_d3f9_e590_b17e_1dc8afafdbe0 style 3a4b7833_350c_526b_a728_6ea94d09d8b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/utils/test_function_calling.py lines 268–288
def bedrock_converse_tool() -> dict:
return {
"toolSpec": {
"name": "dummy_function",
"description": "Dummy function.",
"inputSchema": {
"json": {
"type": "object",
"properties": {
"arg1": {"description": "foo", "type": "integer"},
"arg2": {
"description": "one of 'bar', 'baz'",
"enum": ["bar", "baz"],
"type": "string",
},
},
"required": ["arg1", "arg2"],
}
},
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bedrock_converse_tool() do?
bedrock_converse_tool() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/utils/test_function_calling.py.
Where is bedrock_converse_tool() defined?
bedrock_converse_tool() is defined in libs/core/tests/unit_tests/utils/test_function_calling.py at line 268.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free