Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v1.0.120 ·

SlashCommand Tool Validation

Entry
JSON All of v1.0.120
EntryKind: in v1.0.120,
ChangesSection of the release

What: The internal SlashCommand tool now includes comprehensive input validation before execution, catching errors early and providing clear error messages.

Details:

  • Validates command format with error code 1 at validateInput() at line 425333
  • Checks if command exists with error code 2
  • Verifies command can be loaded with error code 3
  • Detects disableModelInvocation conflicts with error code 4
  • Ensures command is prompt-based with error code 5
  • Validation occurs before permission checks, improving error reporting
Evidence

validateInput() method at lines 425333-425369 in X21 tool definition

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v1.0.120 →

Feedback