/** * Novel Tools MCP Server - Tool Definitions * Exposes high-level novel-writing operations to Claude */ export declare const tools: readonly [{ readonly name: "sync_world_rules"; readonly description: "Sync all world rule YAML files to database for consistency checking"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Optional: Sync specific rule by name. If not provided, syncs all rules."; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "sync_characters"; readonly description: "Sync character YAML files to database"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly character_name: { readonly type: "string"; readonly description: "Optional: Sync specific character by name. If not provided, syncs all characters."; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "sync_locations"; readonly description: "Sync location YAML files to database"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly location_name: { readonly type: "string"; readonly description: "Optional: Sync specific location by name. If not provided, syncs all locations."; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "sync_plot_threads"; readonly description: "Sync plot thread YAML files to database"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly thread_name: { readonly type: "string"; readonly description: "Optional: Sync specific thread by name. If not provided, syncs all threads."; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "sync_chapters"; readonly description: "Sync chapter markdown files to database"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly chapter_number: { readonly type: "number"; readonly description: "Optional: Sync specific chapter by number. If not provided, syncs all chapters."; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "sync_timeline"; readonly description: "Sync timeline YAML files to database"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "create_world_rule"; readonly description: "Create a new world rule YAML file"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly category: { readonly type: "string"; readonly enum: readonly ["magic", "technology", "physics", "social", "political"]; readonly description: "Category of the world rule"; }; readonly description: { readonly type: "string"; readonly description: "Detailed description of the rule"; }; readonly limitations: { readonly type: "string"; readonly description: "Optional: Limitations or constraints on the rule"; }; readonly is_hard_rule: { readonly type: "boolean"; readonly description: "Optional: Whether this is a hard rule (must never be violated). Default: true"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after creation. Default: true"; }; }; readonly required: readonly ["project_path", "name", "category", "description"]; }; }, { readonly name: "list_world_rules"; readonly description: "List all world rules with optional category filter"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly category: { readonly type: "string"; readonly enum: readonly ["magic", "technology", "physics", "social", "political"]; readonly description: "Optional: Filter by category"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "get_world_rule"; readonly description: "Get detailed information about a specific world rule"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; }; readonly required: readonly ["project_path", "rule_name"]; }; }, { readonly name: "add_world_rule_example"; readonly description: "Add an example to an existing world rule"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly example: { readonly type: "string"; readonly description: "Example demonstrating the rule"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after adding. Default: true"; }; }; readonly required: readonly ["project_path", "rule_name", "example"]; }; }, { readonly name: "add_world_rule_exception"; readonly description: "Add an exception to an existing world rule"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly exception: { readonly type: "string"; readonly description: "Exception to the rule"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after adding. Default: true"; }; }; readonly required: readonly ["project_path", "rule_name", "exception"]; }; }, { readonly name: "update_world_rule_limitations"; readonly description: "Update limitations/constraints for a world rule"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly limitations: { readonly type: "string"; readonly description: "Updated limitations text"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after update. Default: true"; }; }; readonly required: readonly ["project_path", "rule_name", "limitations"]; }; }, { readonly name: "mark_world_rule_established"; readonly description: "Mark where a world rule was first established in the manuscript"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly chapter: { readonly type: "string"; readonly description: "Optional: Chapter where rule was established"; }; readonly scene: { readonly type: "string"; readonly description: "Optional: Scene where rule was established"; }; readonly quote: { readonly type: "string"; readonly description: "Optional: Quote demonstrating establishment"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after marking. Default: true"; }; }; readonly required: readonly ["project_path", "rule_name"]; }; }, { readonly name: "toggle_world_rule_hard"; readonly description: "Toggle whether a world rule is hard (must never violate) or flexible"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly rule_name: { readonly type: "string"; readonly description: "Name of the world rule"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after toggle. Default: true"; }; }; readonly required: readonly ["project_path", "rule_name"]; }; }, { readonly name: "get_world_rule_stats"; readonly description: "Get statistics about world rules (count by category, hard vs flexible, etc.)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "create_character"; readonly description: "Create a new character YAML file"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly name: { readonly type: "string"; readonly description: "Character name"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["protagonist", "antagonist", "supporting", "minor"]; readonly description: "Character role in the story"; }; readonly description: { readonly type: "string"; readonly description: "Physical and personality description"; }; readonly background: { readonly type: "string"; readonly description: "Character background and history"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after creation. Default: true"; }; }; readonly required: readonly ["project_path", "name", "role"]; }; }, { readonly name: "create_location"; readonly description: "Create a new location YAML file"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly name: { readonly type: "string"; readonly description: "Location name"; }; readonly type: { readonly type: "string"; readonly enum: readonly ["city", "building", "landmark", "natural", "region"]; readonly description: "Type of location"; }; readonly description: { readonly type: "string"; readonly description: "Detailed description of the location"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after creation. Default: true"; }; }; readonly required: readonly ["project_path", "name", "type", "description"]; }; }, { readonly name: "create_plot_thread"; readonly description: "Create a new plot thread YAML file"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly name: { readonly type: "string"; readonly description: "Plot thread name"; }; readonly type: { readonly type: "string"; readonly enum: readonly ["main", "subplot", "character_arc", "mystery", "romance"]; readonly description: "Type of plot thread"; }; readonly description: { readonly type: "string"; readonly description: "Description of the plot thread"; }; readonly auto_sync: { readonly type: "boolean"; readonly description: "Optional: Automatically sync to database after creation. Default: true"; }; }; readonly required: readonly ["project_path", "name", "type", "description"]; }; }, { readonly name: "add_timeline_event"; readonly description: "Add a new timeline event to track story chronology"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly event_name: { readonly type: "string"; readonly description: "Name of the event"; }; readonly event_type: { readonly type: "string"; readonly enum: readonly ["plot", "backstory", "world_history"]; readonly description: "Optional: Type of event"; }; readonly description: { readonly type: "string"; readonly description: "Optional: Description of the event"; }; readonly story_date: { readonly type: "string"; readonly description: "Optional: In-universe date (flexible format: \"2024-05-01\", \"Summer 1995\", \"Three days after arrival\")"; }; readonly story_timestamp: { readonly type: "number"; readonly description: "Optional: Unix-style timestamp for precise ordering"; }; readonly importance: { readonly type: "number"; readonly description: "Optional: Importance level (1-10)"; }; readonly is_backstory: { readonly type: "boolean"; readonly description: "Optional: Whether this is a backstory event"; }; }; readonly required: readonly ["project_path", "event_name"]; }; }, { readonly name: "list_timeline_events"; readonly description: "List all timeline events with optional filtering"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly event_type: { readonly type: "string"; readonly enum: readonly ["plot", "backstory", "world_history"]; readonly description: "Optional: Filter by event type"; }; readonly is_backstory: { readonly type: "boolean"; readonly description: "Optional: Show only backstory events"; }; readonly min_importance: { readonly type: "number"; readonly description: "Optional: Show only events with importance >= N"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "get_timeline_event"; readonly description: "Get detailed information about a specific timeline event"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly event_name: { readonly type: "string"; readonly description: "Name of the event"; }; }; readonly required: readonly ["project_path", "event_name"]; }; }, { readonly name: "update_timeline_event"; readonly description: "Update an existing timeline event"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly event_name: { readonly type: "string"; readonly description: "Name of the event to update"; }; readonly description: { readonly type: "string"; readonly description: "Optional: New description"; }; readonly story_date: { readonly type: "string"; readonly description: "Optional: New story date"; }; readonly story_timestamp: { readonly type: "number"; readonly description: "Optional: New timestamp"; }; readonly importance: { readonly type: "number"; readonly description: "Optional: New importance level (1-10)"; }; }; readonly required: readonly ["project_path", "event_name"]; }; }, { readonly name: "link_timeline_events"; readonly description: "Create a dependency between two events (A must happen before B)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly event_before: { readonly type: "string"; readonly description: "Name of the event that happens first"; }; readonly event_after: { readonly type: "string"; readonly description: "Name of the event that happens second"; }; readonly dependency_type: { readonly type: "string"; readonly enum: readonly ["sequence", "causation", "reference"]; readonly description: "Optional: Type of dependency. Default: sequence"; }; readonly notes: { readonly type: "string"; readonly description: "Optional: Notes about this dependency"; }; }; readonly required: readonly ["project_path", "event_before", "event_after"]; }; }, { readonly name: "check_timeline_conflicts"; readonly description: "Check for timeline conflicts (events with dependencies but wrong timestamps)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "get_scene_context"; readonly description: "Assemble contextual information needed for writing a scene (characters present, location, active plot threads, relevant world rules)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly chapter_number: { readonly type: "number"; readonly description: "Chapter number"; }; readonly scene_id: { readonly type: "string"; readonly description: "Scene identifier within the chapter"; }; }; readonly required: readonly ["project_path", "chapter_number", "scene_id"]; }; }, { readonly name: "get_character_context"; readonly description: "Get comprehensive context for a character (profile, arc, relationships, appearances)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly character_name: { readonly type: "string"; readonly description: "Character name"; }; readonly include_relationships: { readonly type: "boolean"; readonly description: "Optional: Include relationships with other characters. Default: true"; }; }; readonly required: readonly ["project_path", "character_name"]; }; }, { readonly name: "get_location_context"; readonly description: "Get comprehensive context for a location (description, appearances, characters present)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly location_name: { readonly type: "string"; readonly description: "Location name"; }; }; readonly required: readonly ["project_path", "location_name"]; }; }, { readonly name: "check_consistency"; readonly description: "Run consistency checks on the project (character descriptions, timeline, world rules)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly check_type: { readonly type: "string"; readonly enum: readonly ["all", "characters", "timeline", "world_rules", "locations"]; readonly description: "Optional: Type of consistency check to run. Default: all"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "check_world_rules"; readonly description: "Check if text violates any world rules"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly text: { readonly type: "string"; readonly description: "Text to check against world rules"; }; readonly chapter_number: { readonly type: "number"; readonly description: "Optional: Chapter number for context"; }; }; readonly required: readonly ["project_path", "text"]; }; }, { readonly name: "list_consistency_issues"; readonly description: "List all open consistency issues with optional severity filtering"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly severity: { readonly type: "string"; readonly enum: readonly ["error", "warning", "info"]; readonly description: "Optional: Filter by severity level"; }; readonly verbose: { readonly type: "boolean"; readonly description: "Optional: Include detailed information (chapter IDs, scene IDs, detection dates)"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "resolve_consistency_issue"; readonly description: "Mark a consistency issue as resolved (fixed in manuscript)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly issue_id: { readonly type: "number"; readonly description: "ID of the issue to resolve"; }; readonly notes: { readonly type: "string"; readonly description: "Optional: Resolution notes"; }; }; readonly required: readonly ["project_path", "issue_id"]; }; }, { readonly name: "acknowledge_consistency_issue"; readonly description: "Acknowledge an intentional inconsistency (will not be flagged again)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly issue_id: { readonly type: "number"; readonly description: "ID of the issue to acknowledge"; }; readonly notes: { readonly type: "string"; readonly description: "Optional: Explanation of why this is intentional"; }; }; readonly required: readonly ["project_path", "issue_id"]; }; }, { readonly name: "mark_false_positive"; readonly description: "Mark a consistency issue as incorrectly detected (false positive)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly issue_id: { readonly type: "number"; readonly description: "ID of the issue to mark as false positive"; }; readonly notes: { readonly type: "string"; readonly description: "Optional: Explanation of why this is a false positive"; }; }; readonly required: readonly ["project_path", "issue_id"]; }; }, { readonly name: "get_project_health"; readonly description: "Get project health dashboard (word count, completion percentage, consistency issues)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "get_writing_stats"; readonly description: "Get writing statistics (daily word count, streak, session history)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly days: { readonly type: "number"; readonly description: "Optional: Number of days to include in statistics. Default: 30"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "get_plot_thread_status"; readonly description: "Get status of all plot threads (active, resolved, pending)"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly status: { readonly type: "string"; readonly enum: readonly ["all", "active", "resolved", "pending"]; readonly description: "Optional: Filter by status. Default: all"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "search_world_rules"; readonly description: "Search world rules by keyword or category"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly keyword: { readonly type: "string"; readonly description: "Optional: Keyword to search for in rule names/descriptions"; }; readonly category: { readonly type: "string"; readonly enum: readonly ["magic", "technology", "physics", "social", "political"]; readonly description: "Optional: Filter by category"; }; readonly hard_rules_only: { readonly type: "boolean"; readonly description: "Optional: Only return hard rules. Default: false"; }; }; readonly required: readonly ["project_path"]; }; }, { readonly name: "search_characters"; readonly description: "Search characters by name or role"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly project_path: { readonly type: "string"; readonly description: "Path to the novel project"; }; readonly keyword: { readonly type: "string"; readonly description: "Optional: Keyword to search for in character names/descriptions"; }; readonly role: { readonly type: "string"; readonly enum: readonly ["protagonist", "antagonist", "supporting", "minor"]; readonly description: "Optional: Filter by role"; }; }; readonly required: readonly ["project_path"]; }; }];