sandbox_get_function_schema

Return the TypeScript type definition for a specific function. The output includes the input parameter types, the return type, and JSDoc comments describing each parameter. Use this to determine the exact parameter names, types, and which parameters are required before writing code for sandbox_ev...

Server Code Mode Bridge ruifung/mcp-cm-bridge
Category Read
Risk class Low
Parameters 00 required

What sandbox_get_function_schema does on Code Mode Bridge

AI agents call sandbox_get_function_schema 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.

Why sandbox_get_function_schema needs a policy

This tool performs schema introspection only. It queries metadata about function signatures without executing code, modifying data, or triggering external operations. The retrieved schema information is read-only and safe, serving only to support informed decision-making for downstream tool usage. This is a classic Read operation.

From the tool's definition The tool 'sandbox_get_function_schema' returns TypeScript type definitions and metadata for functions. The description explicitly states it 'Return[s]' schema information and 'determine[s]' parameter details—purely informational operations with no side…

Questions about sandbox_get_function_schema

What does the sandbox_get_function_schema tool do? +

Return the TypeScript type definition for a specific function. The output includes the input parameter types, the return type, and JSDoc comments describing each parameter. Use this to determine the exact parameter names, types, and which parameters are required before writing code for sandbox_eval_js.\n\nPass the function name exactly as returned by sandbox_get_functions or sandbox_search_functions (for example, server_name__function_name). It is categorised as a Read tool in the Code Mode Bridge MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on sandbox_get_function_schema? +

Register the Code Mode Bridge MCP server in PolicyLayer and add a rule for sandbox_get_function_schema: 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.

What risk level is sandbox_get_function_schema? +

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

Can I rate-limit sandbox_get_function_schema? +

Yes. Add a rate_limit block to the sandbox_get_function_schema 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 sandbox_get_function_schema completely? +

Set action: deny in the PolicyLayer policy for sandbox_get_function_schema. 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 sandbox_get_function_schema? +

sandbox_get_function_schema 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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.