Skip to content

Fix MCP Responses tool schema generation#3381

Open
LuneZ99 wants to merge 1 commit into
OpenHands:mainfrom
LuneZ99:fix/mcp-responses-tool-schema
Open

Fix MCP Responses tool schema generation#3381
LuneZ99 wants to merge 1 commit into
OpenHands:mainfrom
LuneZ99:fix/mcp-responses-tool-schema

Conversation

@LuneZ99
Copy link
Copy Markdown
Contributor

@LuneZ99 LuneZ99 commented May 25, 2026

Summary:

  • Use MCP tool input schemas when generating Responses API tool definitions.
  • Add regression coverage for MCP Responses schemas, including security_risk.

Fixes #3380

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Copy Markdown
Collaborator

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taste Rating: 🟢 Good taste — simple, focused fix with regression coverage. I didn’t find code issues; the focused MCP Responses schema tests pass locally. Because this touches tool schema/calling behavior, I’m leaving a COMMENT rather than approving so a maintainer can decide whether lightweight eval evidence is needed.

This review was generated by an AI agent (OpenHands) on behalf of the user.


Was this automated review useful? React with 👍 or 👎 to this review to help us measure review quality.
Workflow run: https://github.com/OpenHands/software-agent-sdk/actions/runs/26385290731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tools from mcp_config expose internal data wrapper in Responses API tool schema

2 participants