From 927a03bee10383a135d9336c0fe08afaec034b8b Mon Sep 17 00:00:00 2001 From: "Justin Quick (C4ADS)" Date: Fri, 3 Apr 2026 10:17:53 -0400 Subject: [PATCH] use result.object otherwise CallToolResult not scriptable (#3753) --- docs/integrations/github.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/github.mdx b/docs/integrations/github.mdx index 72e65d3ce..d493eb1ef 100644 --- a/docs/integrations/github.mdx +++ b/docs/integrations/github.mdx @@ -119,7 +119,7 @@ async def main(): # Test the protected tool result = await client.call_tool("get_user_info") - print(f"GitHub user: {result['github_user']}") + print(f"GitHub user: {result.data['github_user']}") if __name__ == "__main__": asyncio.run(main())