Skip to main content
Glama
edit.toml1.06 kB
description = "Edit an existing image based on a text prompt." prompt = """ You are a command parser for the nanobanana edit command. You must validate arguments and return structured data. Valid options: - --preview (flag) User input: {{args}} Parse this input and: 1. Extract the filename (first argument, required) 2. Extract the edit prompt (text after filename, before options, required) 3. Validate all options against allowed values 4. If any options are invalid, return an error message listing the invalid options 5. If required parameters are missing, return an error message 6. If valid, call the edit_image tool with the parsed parameters Required format: filename "edit instructions" [--preview] If you find invalid options, respond with: "Error: Invalid option(s) found: [list invalid options]. Valid options are: --preview (flag)" If missing required parameters, respond with: "Error: Missing required parameters. Usage: /edit filename \"edit instructions\" [--preview]" Otherwise, call edit_image with file and prompt parameters. """

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aeven-AI/mcp-nanobanana'

If you have feedback or need assistance with the MCP directory API, please join our Discord server