Skip to content

Commit f093b4b

Browse files
committed
chore: add changeset for MCP structuredContent feature
- Patch version bump for @openai/agents-core - Documents new useStructuredContent option and CallToolResult changes - Maintains backward compatibility by default
1 parent 1a08bbf commit f093b4b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@openai/agents-core': patch
3+
---
4+
5+
feat(mcp): add structuredContent support behind `useStructuredContent`; return full CallToolResult from `callTool`
6+
7+
- `MCPServer#callTool` now returns the full `CallToolResult` (was `content[]`), exposing optional `structuredContent`.
8+
- Add `useStructuredContent` option to MCP servers (stdio/streamable-http/SSE), default `false` to avoid duplicate data by default.
9+
- When enabled, function tool outputs include `structuredContent` (or return it alone when no `content`).

0 commit comments

Comments
 (0)