{
  "name": "diogenes-edge-gateway",
  "version": "2.5.0",
  "description": "Diogenes Autonomous Multi-Protocol L402 / x402 / MPP AI Microservice Gateway (54 Live Endpoints)",
  "protocol": "mcp-2024-11-05",
  "homepage": "https://diogenes-micro-gateway.corinth.workers.dev",
  "endpoints": {
    "mcp_streamable_http": "https://diogenes-micro-gateway.corinth.workers.dev/mcp",
    "l402_lightning": "diogenesagent@coinos.io",
    "x402_solana": "9fhZHnT3DdvmPcWm5oyWQs3ZUu26EjBsfC8rzLtuafc",
    "mpp_base_evm": "0x14dbc1Efd68C4c4Fc7a46fA804b849372eB7319b"
  },
  "tools": [
    {
      "name": "guardrail_verify",
      "description": "Pre-execution security gate to detect prompt injection, wallet drain, and key exfiltration (100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "payload": {
            "type": "string",
            "description": "Command, script, or prompt to inspect"
          },
          "action_type": {
            "type": "string",
            "description": "Action type (e.g. bash, tool_call)"
          }
        },
        "required": [
          "payload"
        ]
      }
    },
    {
      "name": "contract_audit",
      "description": "Smart contract honeypot, tax, and mint backdoor audit (250 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "code_or_address": {
            "type": "string",
            "description": "Contract code or address"
          },
          "network": {
            "type": "string",
            "description": "base, ethereum, or solana"
          }
        },
        "required": [
          "code_or_address"
        ]
      }
    },
    {
      "name": "web_brief",
      "description": "Grounded real-time market intelligence brief with live Google Search citations in strict JSON (200 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string",
            "description": "Research query or topic"
          }
        },
        "required": [
          "topic"
        ]
      }
    },
    {
      "name": "solana_risk",
      "description": "Solana SPL token and wallet risk evaluation ($0.02 USDC via x402 / 100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "token_address": {
            "type": "string",
            "description": "Solana mint or wallet pubkey"
          }
        },
        "required": [
          "token_address"
        ]
      }
    },
    {
      "name": "json_repair",
      "description": "Autonomous malformed JSON healer and syntax repair (50 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "malformed_json": {
            "type": "string",
            "description": "Malformed JSON string"
          }
        },
        "required": [
          "malformed_json"
        ]
      }
    },
    {
      "name": "regex_oracle",
      "description": "ReDoS-safe regex synthesizer with automated test validation (50 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Pattern requirements"
          }
        },
        "required": [
          "description"
        ]
      }
    },
    {
      "name": "mev_risk",
      "description": "Pre-swap MEV sandwich and frontrunning risk auditor (150 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "dex": {
            "type": "string"
          },
          "token_in": {
            "type": "string"
          },
          "token_out": {
            "type": "string"
          },
          "slippage_bps": {
            "type": "integer"
          }
        },
        "required": [
          "dex",
          "token_in",
          "token_out"
        ]
      }
    },
    {
      "name": "mpp_deep_search",
      "description": "Deep research dossier with live citations ($0.10 USDC via MPP on Base).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Investigation target"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "code_sandbox",
      "description": "Secure Python code execution sandbox ($0.15 USDC via MPP on Base).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Python code to execute"
          }
        },
        "required": [
          "code"
        ]
      }
    },
    {
      "name": "eve_move_assembly_coder",
      "description": "Synthesizes and audits Sui Move smart contract extensions for EVE Frontier Smart Assemblies (200 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "contract_type": {
            "type": "string",
            "description": "turret_guard, gate_lock, storage_vault, or fuel_distributor"
          },
          "assembly_id": {
            "type": "string",
            "description": "Smart Assembly ID"
          }
        },
        "required": [
          "contract_type"
        ]
      }
    },
    {
      "name": "eve_gate_route_planner",
      "description": "Smart gate toll and fuel routing optimizer across EVE Frontier star systems (100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "origin_system": {
            "type": "string"
          },
          "destination_system": {
            "type": "string"
          },
          "optimize_for": {
            "type": "string",
            "description": "fewest_jumps, lowest_fuel, or lowest_toll"
          }
        },
        "required": [
          "origin_system",
          "destination_system"
        ]
      }
    },
    {
      "name": "eve_network_node_gj_optimizer",
      "description": "Lagrange Network Node fuel burn, gigajoule (GJ) energy reservations, and offline-threat windows (100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "node_id": {
            "type": "string"
          },
          "reserve_gj": {
            "type": "number"
          }
        },
        "required": [
          "node_id"
        ]
      }
    },
    {
      "name": "agent_mcp_router",
      "description": "Maps autonomous agent goals to deterministic MCP tool call sequences and JSON-RPC 2.0 payloads (100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "objective": {
            "type": "string",
            "description": "Agent task objective"
          }
        },
        "required": [
          "objective"
        ]
      }
    },
    {
      "name": "agent_schema_enforcer",
      "description": "Strict JSON Schema validation, type healing, and hallucination pruning (75 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "raw_output": {
            "type": "string"
          },
          "schema": {
            "type": "object"
          }
        },
        "required": [
          "raw_output"
        ]
      }
    },
    {
      "name": "crypto_bridge_quote",
      "description": "Compares non-KYC cross-chain settlement routes (THORChain, Blockstream Liquid, Maya) (100 sats via L402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "from_asset": {
            "type": "string"
          },
          "to_asset": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          }
        },
        "required": [
          "from_asset",
          "to_asset",
          "amount"
        ]
      }
    }
  ]
}