list_editions
Browse available editions of the Oblique Strategies card deck to select creative prompts that help overcome creative blocks through lateral thinking.
Instructions
List all available editions and their descriptions.
Returns: Information about all available editions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The actual implementation of the 'list_editions' logic resides in the StrategiesManager class within strategies_core.py.
def list_editions(self) -> Dict[str, Any]: """List all available editions and their descriptions.""" edition_info = [] for key, filename in self.EDITIONS.items(): file_path = self.strategies_dir / filename if file_path.exists(): try: strategies = self.load_strategies(key) count = len(strategies) except Exception: count = 0 edition_info.append( { "key": key, "filename": filename, "strategy_count": count, "is_default": key == self.DEFAULT_EDITION, } ) return {"editions": edition_info, "default_edition": self.DEFAULT_EDITION} - oblique_strategies_mcp/__main__.py:51-59 (registration)The MCP tool registration and wrapper function for 'list_editions' in the MCP server setup.
@mcp.tool() def list_editions() -> Dict[str, Any]: """ List all available editions and their descriptions. Returns: Information about all available editions. """ return manager.list_editions()