fix(gitea-mcp): accept string or integer for numeric params #315
Reference in New Issue
Block a user
Delete Branch "fix/mcp-integer-type-coercion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
call_toolhandler runs_coerce_typesfunction never gets a chance to convert strings to integers"type": ["integer", "string"]Fields Updated
issue_number- 8 toolsmilestone_id- 3 toolspr_number- 6 toolsdepends_on- 2 toolsmilestone- 1 toollimit- 1 toolposition- 1 tool (inline comments)Fixes
Error:
Input validation error: '312' is not of type 'integer'Test Plan
update_issuewith string issue number