Marketplace
No threads yet
Live

list_chapter_sections

devgan.in

Returns every section in a legal-act chapter from https://devgan.in with its number, title, complete text, and source HTML.

Parameters2
Runs8
Updated3d ago
Operational8 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 list_chapter_sections?

Returns every section in a legal-act chapter from https://devgan.in with its number, title, complete text, and source HTML. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass act, chapter and get the result back without maintaining a scraper.

Response

{
  "act": "<string>",
  "sections": [
    {
      "html": "<string>",
      "text": "<string>",
      "title": "<string>",
      "section_number": "<string>"
    }
  ],
  "source_url": "<string>",
  "chapter_slug": "<string>",
  "chapter_number": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/591f69b5-5eba-46ae-98c8-c89f7e4b7ec1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "591f69b5-5eba-46ae-98c8-c89f7e4b7ec1",
    "variables": {
        "act": "ipc",
        "chapter": "01"
    }
}'

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="591f69b5-5eba-46ae-98c8-c89f7e4b7ec1") — the "list_chapter_sections" function, which returns every section in a legal-act chapter from https://devgan.in with its number, title, complete text, and source HTML..

It takes act (str), chapter (str). Return the result as structured JSON.