We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/firebase/genkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•593 B
# Format Demo
This sample demonstrates the different output formats supported by Genkit Python.
## Formats Demonstrated
1. **Text (`text`)**: Raw text output.
2. **JSON (`json`)**: Structured JSON object output.
3. **Array (`array`)**: JSON array of items.
4. **Enum (`enum`)**: Single value from a predefined list.
5. **JSONL (`jsonl`)**: Newline-delimited JSON objects (great for streaming).
## Running
1. Set your `GEMINI_API_KEY` environment variable.
2. Run the sample:
```bash
export GEMINI_API_KEY=your-key
./run.sh
```
Then use the Genkit Developer UI to test the flows.