refactor: use snake case instead of camel case in types (#1894)

This commit is contained in:
Marcelo Trylesinski 2026-01-16 15:51:27 +01:00 • committed by GitHub
commit e94b386a13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,7 @@ async def call_tool_with_error_handling(
result = await session.call_tool(tool_name, arguments)
# Check if the tool returned an error in the result
if result.isError:
if result.is_error:
print(f"Tool returned error: {result.content}")
return None