Home / Function/ _get_parameters_info() — anthropic-sdk-python Function Reference

_get_parameters_info() — anthropic-sdk-python Function Reference

Architecture documentation for the _get_parameters_info() function in test_functions.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  d48c26ed_60f3_c65c_5a30_ff9f3445fe12["_get_parameters_info()"]
  b38a2dde_3dd7_54c3_3cd6_31b55c63196d["test_functions.py"]
  d48c26ed_60f3_c65c_5a30_ff9f3445fe12 -->|defined in| b38a2dde_3dd7_54c3_3cd6_31b55c63196d
  1f98972c_69d5_ad15_6d31_35e7b33058a9["test_docstring_parsing_simple()"]
  1f98972c_69d5_ad15_6d31_35e7b33058a9 -->|calls| d48c26ed_60f3_c65c_5a30_ff9f3445fe12
  style d48c26ed_60f3_c65c_5a30_ff9f3445fe12 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/lib/tools/test_functions.py lines 442–447

def _get_parameters_info(fn: BaseFunctionTool[Any]) -> dict[str, str]:
    param_info: dict[str, str] = {}
    for param in fn._parsed_docstring.params:
        if param.description:
            param_info[param.arg_name] = param.description.strip()
    return param_info

Subdomains

Frequently Asked Questions

What does _get_parameters_info() do?
_get_parameters_info() is a function in the anthropic-sdk-python codebase, defined in tests/lib/tools/test_functions.py.
Where is _get_parameters_info() defined?
_get_parameters_info() is defined in tests/lib/tools/test_functions.py at line 442.
What calls _get_parameters_info()?
_get_parameters_info() is called by 1 function(s): test_docstring_parsing_simple.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free