get_rpc_url
Retrieve the default RPC URL for connecting to Arbitrum networks, enabling interaction with nodes and chains for monitoring and operations.
Instructions
Get the current default RPC URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:126-136 (handler)Handler logic for the 'get_rpc_url' tool. Returns the currently configured default RPC URL as text content, or a message indicating none is set.
case "get_rpc_url": return { content: [ { type: "text", text: this.defaultRpcUrl ? `Current default RPC URL: ${this.defaultRpcUrl}` : "No default RPC URL configured", }, ], }; - src/index.ts:839-845 (registration)Tool registration in getAvailableTools() method, including name, description, and empty input schema (no parameters required). This defines the tool for the MCP listTools request.
name: "get_rpc_url", description: "Get the current default RPC URL", inputSchema: { type: "object" as const, properties: {}, }, }, - src/index.ts:841-844 (schema)Input schema definition for get_rpc_url tool: an empty object (no input parameters needed).
inputSchema: { type: "object" as const, properties: {}, },