- Introduced `image_generate` tool for generating images from text prompts, with options for specifying output file paths and image dimensions. - Updated `image_read` functionality to allow optional provider specification for enhanced image analysis. - Implemented new `GenerateImage` method in the LLM API for seamless integration of image generation capabilities. - Enhanced documentation to include detailed usage examples for both image reading and generation tools. - Updated tests to validate new image generation features and ensure robust functionality across image tools.
17 lines
577 B
JSON
17 lines
577 B
JSON
{
|
|
"name": "image_providers",
|
|
"description": "List available image providers. Default lists image generation providers; pass capability='vision' to list vision (image reading) providers.",
|
|
"process": "tools.image_providers",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"capability": {
|
|
"type": "string",
|
|
"description": "Filter by capability: 'image_generation' (default) or 'vision'.",
|
|
"default": "image_generation",
|
|
"enum": ["image_generation", "vision"]
|
|
}
|
|
}
|
|
},
|
|
"x-process-args": ["$args.capability"]
|
|
}
|