Vertex AI MCP Server

by shariqriazz
Verified

get_doc_snippets

Retrieve precise code snippets or concise answers from official documentation for technical queries. Specify the software/library topic and your query to get exact solutions without unnecessary explanations.

Instructions

Provides precise, authoritative code snippets or concise answers for technical queries by searching official documentation. Focuses on delivering exact solutions without unnecessary explanation. Uses the configured Vertex AI model (gemini-2.5-pro-exp-03-25) with Google Search. Requires 'topic' and 'query'.

Input Schema

NameRequiredDescriptionDefault
include_examplesNoOptional. Whether to include additional usage examples beyond the primary snippet. Defaults to true.
queryYesThe specific question or use case to find a snippet or concise answer for.
topicYesThe software/library/framework topic (e.g., 'React Router', 'Python requests', 'PostgreSQL 14').
versionNoOptional. Specific version of the software to target (e.g., '6.4', '2.28.2'). If provided, only documentation for this version will be used.

Input Schema (JSON Schema)

{ "properties": { "include_examples": { "default": true, "description": "Optional. Whether to include additional usage examples beyond the primary snippet. Defaults to true.", "type": "boolean" }, "query": { "description": "The specific question or use case to find a snippet or concise answer for.", "type": "string" }, "topic": { "description": "The software/library/framework topic (e.g., 'React Router', 'Python requests', 'PostgreSQL 14').", "type": "string" }, "version": { "default": "", "description": "Optional. Specific version of the software to target (e.g., '6.4', '2.28.2'). If provided, only documentation for this version will be used.", "type": "string" } }, "required": [ "topic", "query" ], "type": "object" }
ID: 4flmun3tjc