We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeError
1 parent 66956aa commit dd96fc4Copy full SHA for dd96fc4
python/semantic_kernel/connectors/mcp.py
@@ -102,7 +102,7 @@ def get_parameter_from_mcp_prompt(prompt: Prompt) -> list[dict[str, Any]]:
102
def get_parameters_from_mcp_tool(tool: Tool) -> list[dict[str, Any]]:
103
"""Creates an MCPFunction instance from a tool."""
104
properties = tool.inputSchema.get("properties", None)
105
- required = tool.inputSchema.get("required", None)
+ required = tool.inputSchema.get("required", [])
106
# Check if 'properties' is missing or not a dictionary
107
if not properties:
108
return []
0 commit comments