New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

search_docs_chunks

This tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.

SERVERDev SOURCE@shopify/dev-mcp
Low RISK CLASS
Category Read
Parameters 52 required
Recommended Allowedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/dev/search-docs-chunks.md

What search_docs_chunks does on Dev

AI agents call search_docs_chunks to retrieve information from Dev without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
prompt string Yes The search query for Shopify documentation
version string The API version to scope search results to (e.g., '2025-04', '2026-01'). Pass the version you detected or received from learn_shopify_api. When omitted, search
api_name string The API name to filter search results by. Pass the same API name you used with learn_shopify_api (e.g., 'polaris-admin-extensions', 'pos-ui', 'admin'). This fil
conversationId string Yes 🔗 REQUIRED: conversationId from learn_shopify_api tool. Call learn_shopify_api first if you don't have this.
max_num_results number Maximum number of results to return from the search. Do not pass this when calling the tool for the first time, only use this when you want to limit the number

Parameters from the server's own tool schema.

Why search_docs_chunks is rated Low

This tool performs a search operation that retrieves and returns existing documentation and code examples. It has no side effects, cannot modify or delete data, and does not execute code. It is a straightforward read/query operation with minimal risk even if misused by an AI agent, as the worst outcome would be returning irrelevant search results.

From the tool's definition Tool description states it 'will take in the user prompt, search shopify.dev, and return relevant documentation and code examples' — purely retrieval and querying of documentation without any data modification, deletion, or code execution.

Questions about search_docs_chunks

What does the search_docs_chunks tool do? +

This tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question. It is categorised as a Read tool in the Dev MCP Server, which means it retrieves data without modifying state.

What parameters does search_docs_chunks accept? +

search_docs_chunks accepts 5 parameters: prompt, version, api_name, conversationId, max_num_results. Required: prompt, conversationId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on search_docs_chunks? +

Register the Dev MCP server in PolicyLayer and add a rule for search_docs_chunks: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dev. Nothing to install.

What risk level is search_docs_chunks? +

search_docs_chunks is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit search_docs_chunks? +

Yes. Add a rate_limit block to the search_docs_chunks rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block search_docs_chunks completely? +

Set action: deny in the PolicyLayer policy for search_docs_chunks. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides search_docs_chunks? +

search_docs_chunks is provided by the Dev MCP server (@shopify/dev-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Dev, and thousands of servers like it.

This server

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Dev's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.