{"record":{"id":"a7ab85538bcd2328","repo":"Fission-AI/OpenSpec","slug":"the-tools-option-requires-a-value-use-all-n","errorCode":null,"errorMessage":"The --tools option requires a value. Use \"all\", \"none\", or a comma-separated list of tool IDs.","messagePattern":"The --tools option requires a value\\. Use \"all\", \"none\", or a comma-separated list of tool IDs\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/init.ts","lineNumber":707,"sourceCode":"      choices: sortedChoices,\n      validate: (selected: string[]) => selected.length > 0 || 'Select at least one tool',\n    });\n\n    if (selectedTools.length === 0) {\n      throw new Error('At least one tool must be selected');\n    }\n\n    return selectedTools;\n  }\n\n  private resolveToolsArg(): string[] | null {\n    if (typeof this.toolsArg === 'undefined') {\n      return null;\n    }\n\n    const raw = this.toolsArg.trim();\n    if (raw.length === 0) {\n      throw new Error(\n        'The --tools option requires a value. Use \"all\", \"none\", or a comma-separated list of tool IDs.'\n      );\n    }\n\n    const availableTools = getToolsWithSkillsDir();\n    const availableSet = new Set(availableTools);\n    const availableList = ['all', 'none', ...availableTools].join(', ');\n\n    const lowerRaw = raw.toLowerCase();\n    if (lowerRaw === 'all') {\n      return availableTools;\n    }\n\n    if (lowerRaw === 'none') {\n      return [];\n    }\n\n    const tokens = raw","sourceCodeStart":689,"sourceCodeEnd":725,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/init.ts#L689-L725","documentation":"Error \"The --tools option requires a value. Use \"all\", \"none\", or a comma-separated list of tool IDs.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/init.ts:707 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-08-25T16:17:27.014Z"}