Skip to content

fix: treat null MCP resource args as empty#8917

Merged
tibo-openai merged 1 commit intomainfrom
tibo/mcp-resource-null-args
Jan 9, 2026
Merged

fix: treat null MCP resource args as empty#8917
tibo-openai merged 1 commit intomainfrom
tibo/mcp-resource-null-args

Conversation

@tibo-openai
Copy link
Copy Markdown
Collaborator

Handle null tool arguments in the MCP resource handler so optional resource tools accept null without failing, preserving normal JSON parsing for non-null payloads and improving robustness when models emit null; this avoids spurious argument parse errors for list/read MCP resource calls.

@tibo-openai tibo-openai marked this pull request as ready for review January 9, 2026 01:16
@tibo-openai tibo-openai merged commit 51dd5af into main Jan 9, 2026
26 checks passed
@tibo-openai tibo-openai deleted the tibo/mcp-resource-null-args branch January 9, 2026 01:47
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants