length
(string): Caption length - "short", "normal", or "detailed"
How to use it
length is exposed by the Moondream MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the length tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Moondream MCP
$
uvx moondream-mcpOther tools in Moondream MCP (7)
image_path
(string): Path to image file or URL
image_paths
(string): JSON array of image paths
object_name
(string): Name of object to detect
operation
(string): Operation type ("caption", "query", "detect", "point")
parameters
(string): JSON string with operation-specific parameters
question
(string): Question to ask about the image
stream
(boolean): Whether to stream caption generation