r"""Gets the schema for a specific parameter from the function schema. Args: param_name (str): The name of the parameter to get the schema. Returns: Dict[str, Any]: The schema of the specified parameter.
(self, param_name: str)
| 566 | ]["description"] = description |
| 567 | |
| 568 | def get_parameter(self, param_name: str) -> Dict[str, Any]: |
| 569 | r"""Gets the schema for a specific parameter from the function schema. |
| 570 | |
| 571 | Args: |
| 572 | param_name (str): The name of the parameter to get the schema. |
| 573 | |
| 574 | Returns: |
| 575 | Dict[str, Any]: The schema of the specified parameter. |
| 576 | """ |
| 577 | self.validate_openai_tool_schema(self.openai_tool_schema) |
| 578 | return self.openai_tool_schema["function"]["parameters"]["properties"][ |
| 579 | param_name |
| 580 | ] |
| 581 | |
| 582 | def set_parameter(self, param_name: str, value: Dict[str, Any]): |
| 583 | r"""Sets the schema for a specific parameter in the function schema. |
nothing calls this directly
no test coverage detected