You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: align tool name validation with SEP-986 spec (v1.x backport)
Fixes#1502
Backport of #1505 to v1.x branch:
- Allow forward slash (/) in tool names per SEP-986
- Reduce max length from 128 to 64 per SEP-986
- Add warning for names starting/ending with /
- Update tests to match new validation rules
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
${'names with only dots'} | ${'...'} | ${true} | ${'Tool name starts or ends with a dot, which may cause parsing issues in some contexts'}
120
120
${'names with only dashes'} | ${'---'} | ${true} | ${'Tool name starts or ends with a dash, which may cause parsing issues in some contexts'}
121
-
${'names with only forward slashes'} | ${'///'} | ${false} | ${'Tool name contains invalid characters: "/"'}
121
+
${'names with only forward slashes'} | ${'///'} | ${true}| ${'Tool name starts or ends with a forward slash, which may cause parsing issues in some contexts'}
122
122
${'names with mixed valid/invalid chars'} | ${'user@name123'} | ${false} | ${'Tool name contains invalid characters: "@"'}
0 commit comments