Genkit MCP

Official
Apache 2.0
208
1,699

sampleLLM

Generate text samples from a language model by inputting a prompt and specifying token limits, integrated with Genkit MCP for streamlined use.

Instructions

Samples from an LLM using MCP's sampling feature

Input Schema

NameRequiredDescriptionDefault
maxTokensNoMaximum number of tokens to generate
promptYesThe prompt to send to the LLM

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "maxTokens": { "default": 100, "description": "Maximum number of tokens to generate", "type": "number" }, "prompt": { "description": "The prompt to send to the LLM", "type": "string" } }, "required": [ "prompt" ], "type": "object" }

You must be authenticated.

Other Tools from Genkit MCP

Related Tools

ID: m6x141u6rd