Network Module

HTTP requests and package registry queries

Available Tools

  • net_fetch - Fetch URLs with automatic HTML to Markdown conversion
  • net_cargo - Query crates.io for Rust package info
  • net_node - Query npm registry for Node.js packages
  • net_python - Query PyPI for Python packages
  • net_apt - Query APT package information
  • net_ping - Check network connectivity with statistics

Example: Fetch URL as Markdown

{
  "name": "net_fetch",
  "arguments": {
    "url": "https://example.com",
    "convert_to_markdown": true
  }
}

Fetches a URL and automatically converts HTML content to Markdown for easier processing.

Example: Query Rust Package

{
  "name": "net_cargo",
  "arguments": {
    "crate_name": "tokio",
    "action": "latest"
  }
}

Queries crates.io for information about a Rust package, including the latest version, description, and dependencies.

Example: Query Node.js Package

{
  "name": "net_node",
  "arguments": {
    "package_name": "react",
    "action": "info"
  }
}

Example: Check Network Connectivity

{
  "name": "net_ping",
  "arguments": {
    "host": "google.com",
    "count": 4
  }
}

Package Query Actions

  • latest: Get the latest version of a package
  • info: Get detailed package information
  • versions: List all available versions
  • dependencies: Get package dependencies

Example: Query Python Package

{
  "name": "net_python",
  "arguments": {
    "package_name": "requests",
    "action": "info"
  }
}

Example: APT Package Query

{
  "name": "net_apt",
  "arguments": {
    "package_name": "nginx",
    "action": "info"
  }
}