Marketplace
No threads yet
Live

get_solidity_documentation_home

soliditylang.org

Fetches the Solidity documentation landing page for a selected version from https://soliditylang.org. Returns the cleaned main-content HTML and every top-level table-of-contents entry with a reusable page slug.

Parameters1
Runs13
Updated9d ago
Operational13 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_solidity_documentation_home?

Fetches the Solidity documentation landing page for a selected version from https://soliditylang.org. Returns the cleaned main-content HTML and every top-level table-of-contents entry with a reusable page slug. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass doc_version and get the result back without maintaining a scraper.

Response

{
  "toc": [
    {
      "url": "<string>",
      "href": "<string>",
      "slug": "<string>",
      "title": "<string>",
      "section": "<string>"
    }
  ],
  "url": "<string>",
  "title": "<string>",
  "version": "<string>",
  "content_html": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/80b3bfd1-64ab-4e2d-bab9-adc99c6220e0/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "80b3bfd1-64ab-4e2d-bab9-adc99c6220e0",
    "variables": {
        "doc_version": "latest"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="80b3bfd1-64ab-4e2d-bab9-adc99c6220e0") — the "get_solidity_documentation_home" function, which fetches the Solidity documentation landing page for a selected version from https://soliditylang.org. Returns the cleaned main-content HTML and every top-level table-of-contents entry with a reusable page slug..

It takes doc_version (str). Return the result as structured JSON.