fix(custome tool): get the name of the custom tool schema

This commit is contained in:
谢俊男
2026-01-14 11:27:23 +08:00
parent b5c8741803
commit 255fb07615

View File

@@ -223,7 +223,7 @@ class OpenAPISchemaParser:
operations[operation_id] = { operations[operation_id] = {
"method": method.upper(), "method": method.upper(),
"path": path, "path": path,
"summary": operation.get("summary", ""), "summary": operation_id,
"description": operation.get("description", ""), "description": operation.get("description", ""),
"parameters": self._extract_parameters(operation), "parameters": self._extract_parameters(operation),
"request_body": self._extract_request_body(operation), "request_body": self._extract_request_body(operation),