Search for functions by keyword. Matches against function names and descriptions. Returns the top results ranked by relevance. Each result includes the function name and its description, and may include a TypeScript type definition. If you need exact parameter names and types, call sandbox_get_fu...
AI agents call sandbox_search_functions to retrieve information from Code Mode Bridge without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This is a pure read operation that queries available functions and their metadata within the sandbox environment. It has no side effects—it only retrieves and returns search results. The data returned is informational metadata about function signatures and capabilities, not execution of those functions. Confidence is high because the description clearly indicates read-only behavior.
From the tool's definition Tool performs a search operation that 'matches against function names and descriptions' and 'returns the top results ranked by relevance.' It retrieves metadata about available functions without modifying, executing, or deleting anything.
Attacks that exploit this kind of access
Search for functions by keyword. Matches against function names and descriptions. Returns the top results ranked by relevance. Each result includes the function name and its description, and may include a TypeScript type definition. If you need exact parameter names and types, call sandbox_get_function_schema. Use this instead of sandbox_get_functions when you know what you are looking for but do not know the exact function name. It is categorised as a Read tool in the Code Mode Bridge MCP Server, which means it retrieves data without modifying state.
Register the Code Mode Bridge MCP server in PolicyLayer and add a rule for sandbox_search_functions: 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 Code Mode Bridge. Nothing to install.
sandbox_search_functions is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the sandbox_search_functions 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.
Set action: deny in the PolicyLayer policy for sandbox_search_functions. 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.
sandbox_search_functions is provided by the Code Mode Bridge MCP server (ruifung/mcp-cm-bridge). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →