Skip to content

Commit 23d28f1

Browse files
soodokuclaude
andcommitted
Fix the docs example for the snake_case rename
docs/http-api.md handed readers `result.structuredContent`, which raises under mcp 2.x. Found by scanning the whole repo for attribute access on SDK models rather than only the directories the last two fixes touched -- that narrower sweep is what let CI find one before I did. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 307f035 commit 23d28f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/http-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def main():
106106
"data": {"y": [2.0, 4.1, 6.2], "x": [1, 2, 3]},
107107
},
108108
)
109-
print(result.structuredContent)
109+
print(result.structured_content)
110110
```
111111

112112
### Claude API (MCP connector)

0 commit comments

Comments
 (0)