sia-vision-mcp-server
Version:
Enhanced v2 MCP server with improved error handling, validation, and comprehensive tool schemas for SIA.Vision storytelling platform
89 lines • 3.13 kB
JavaScript
export const characterTools = [
{
name: 'list_characters',
description: 'Get all characters in a storyworld with basic metadata',
inputSchema: {
type: 'object',
properties: {
storyworld_id: { type: 'string' },
include_appearances: {
type: 'boolean',
description: 'Include scene appearance counts',
default: false
}
},
required: ['storyworld_id']
}
},
{
name: 'get_character',
description: 'Get complete character profile including bio, traits, visual prompts, and appearance history',
inputSchema: {
type: 'object',
properties: {
character_id: { type: 'string' },
include_appearances: {
type: 'boolean',
description: 'Include list of scenes where character appears',
default: true
},
include_visuals: {
type: 'boolean',
description: 'Include visual assets and AI prompts',
default: true
}
},
required: ['character_id']
}
},
{
name: 'create_character',
description: 'Create new character with full profile and link to storyworld',
inputSchema: {
type: 'object',
properties: {
storyworld_id: { type: 'string' },
name: { type: 'string' },
description: {
type: 'string',
description: 'Bio and character traits',
minLength: 5
},
visual_prompts: {
type: 'array',
items: {
type: 'object',
properties: {
text: { type: 'string' },
tool: {
type: 'string',
description: 'AI tool used (e.g., "Imagen 3")'
},
used_for: {
type: 'string',
description: 'Purpose (e.g., "character design")'
}
},
required: ['text', 'tool', 'used_for']
}
}
},
required: ['storyworld_id', 'name', 'description']
}
},
{
name: 'update_character',
description: 'Update character data and maintain version history',
inputSchema: {
type: 'object',
properties: {
character_id: { type: 'string' },
name: { type: 'string' },
description: { type: 'string' },
visual_prompts: { type: 'array' }
},
required: ['character_id']
}
}
];
//# sourceMappingURL=character-tools.js.map