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
Name | Required | Description | Default |
---|---|---|---|
include_examples | No | Optional. Whether to include additional usage examples beyond the primary snippet. Defaults to true. | |
query | Yes | The specific question or use case to find a snippet or concise answer for. | |
topic | Yes | The software/library/framework topic (e.g., 'React Router', 'Python requests', 'PostgreSQL 14'). | |
version | No | 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. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Vertex AI MCP Server
- answer_query_direct
- answer_query_websearch
- create_directory
- edit_file_content
- explain_topic_with_docs
- generate_project_guidelines
- get_directory_tree
- get_doc_snippets
- get_filesystem_info
- list_directory_contents
- move_file_or_directory
- read_file_content
- read_multiple_files_content
- save_answer_query_direct
- save_answer_query_websearch
- save_doc_snippet
- save_generate_project_guidelines
- save_topic_explanation
- search_filesystem
- write_file_content
Related Tools
- @fr0ziii/perplexity-mcp-server
- @hannesrudolph/mcp-ragdocs
- @nahmanmate/code-research-mcp-server
- @aldrin-labs/metaplex-mcp-server
- @shariqriazz/vertex-ai-mcp-server