Fission-AI/OpenSpec · error
The --tools option requires a value. Use "all", "none", or a
Error message
The --tools option requires a value. Use "all", "none", or a comma-separated list of tool IDs.
What it means
Error "The --tools option requires a value. Use "all", "none", or a comma-separated list of tool IDs." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/core/init.ts:707
choices: sortedChoices,
validate: (selected: string[]) => selected.length > 0 || 'Select at least one tool',
});
if (selectedTools.length === 0) {
throw new Error('At least one tool must be selected');
}
return selectedTools;
}
private resolveToolsArg(): string[] | null {
if (typeof this.toolsArg === 'undefined') {
return null;
}
const raw = this.toolsArg.trim();
if (raw.length === 0) {
throw new Error(
'The --tools option requires a value. Use "all", "none", or a comma-separated list of tool IDs.'
);
}
const availableTools = getToolsWithSkillsDir();
const availableSet = new Set(availableTools);
const availableList = ['all', 'none', ...availableTools].join(', ');
const lowerRaw = raw.toLowerCase();
if (lowerRaw === 'all') {
return availableTools;
}
if (lowerRaw === 'none') {
return [];
}
const tokens = rawView on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/core/init.ts:707 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Fission-AI/OpenSpec@6926ccb18a (2026-08-25).
Data as JSON: /api/errors/a7ab85538bcd2328.
Report an issue: GitHub.