{"version":"1.0.120","anchor":"slashcommand-tool-validation","canonical_anchor":"slashcommand-tool-validation","heading":"SlashCommand Tool Validation","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.120\/e\/slashcommand-tool-validation","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.120","markdown":"### SlashCommand Tool Validation\n\n**What:** The internal `SlashCommand` tool now includes comprehensive input validation before execution, catching errors early and providing clear error messages.\n\n**Details:**\n\n- Validates command format with error code 1 at `validateInput()` at line 425333\n- Checks if command exists with error code 2\n- Verifies command can be loaded with error code 3\n- Detects `disableModelInvocation` conflicts with error code 4\n- Ensures command is prompt-based with error code 5\n- Validation occurs before permission checks, improving error reporting\n\n**Evidence**\n\n`validateInput()` method at lines 425333-425369 in `X21` tool definition"}