sia-vision-mcp-server
Version:
Enhanced v2 MCP server with improved error handling, validation, and comprehensive tool schemas for SIA.Vision storytelling platform
114 lines • 4.16 kB
JavaScript
export const loreTools = [
{
name: 'create_lore_entry',
description: 'Create a new lore entry for world-building information',
inputSchema: {
type: 'object',
properties: {
storyworld_id: {
type: 'string',
description: 'The ID of the storyworld'
},
name: {
type: 'string',
description: 'Title of the lore entry'
},
description: {
type: 'string',
description: 'Detailed lore content'
},
category: {
type: 'string',
description: 'Category of lore',
enum: ['world_rules', 'history', 'culture', 'technology', 'magic_system', 'geography', 'politics', 'religion', 'other']
},
importance: {
type: 'string',
description: 'Importance level of the lore entry',
enum: ['critical', 'important', 'background']
},
tags: {
type: 'array',
items: { type: 'string' },
description: 'Tags for categorizing the lore'
},
related_characters: {
type: 'array',
items: { type: 'string' },
description: 'Character IDs related to this lore'
}
},
required: ['storyworld_id', 'name', 'description', 'category', 'importance']
}
},
{
name: 'search_lore',
description: 'Search for lore entries by keywords, tags, or category',
inputSchema: {
type: 'object',
properties: {
storyworld_id: {
type: 'string',
description: 'The ID of the storyworld'
},
query: {
type: 'string',
description: 'Search query for lore content'
},
category: {
type: 'string',
description: 'Filter by lore category',
enum: ['world_rules', 'history', 'culture', 'technology', 'magic_system', 'geography', 'politics', 'religion', 'other']
},
tags: {
type: 'array',
items: { type: 'string' },
description: 'Filter by tags'
}
},
required: ['storyworld_id']
}
},
{
name: 'get_lore_entry',
description: 'Get detailed information about a specific lore entry',
inputSchema: {
type: 'object',
properties: {
lore_entry_id: {
type: 'string',
description: 'The ID of the lore entry'
}
},
required: ['lore_entry_id']
}
},
{
name: 'link_research_to_scene',
description: 'Link research or lore to a specific scene for context',
inputSchema: {
type: 'object',
properties: {
research_id: {
type: 'string',
description: 'The ID of the research or lore entry'
},
scene_id: {
type: 'string',
description: 'The ID of the scene'
},
link_type: {
type: 'string',
description: 'Type of link relationship',
enum: ['background_info', 'character_motivation', 'world_context', 'plot_reference', 'authenticity_check']
},
notes: {
type: 'string',
description: 'Notes about how the research applies to the scene'
}
},
required: ['research_id', 'scene_id', 'link_type']
}
}
];
//# sourceMappingURL=lore-tools.js.map