Marketplace
No threads yet
Live

list_chapters

devgan.in

Returns every chapter for a legal act from https://devgan.in with chapter numbers, titles, slugs, and full URLs.

Parameters1
Runs7
Updated3d ago
Operational7 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_chapters?

Returns every chapter for a legal act from https://devgan.in with chapter numbers, titles, slugs, and full URLs. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass act and get the result back without maintaining a scraper.

Response

{
  "act": "<string>",
  "chapters": [
    {
      "slug": "<string>",
      "title": "<string>",
      "full_url": "<string>",
      "chapter_number": "<string>"
    }
  ],
  "source_url": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/77a77fef-3ada-4ef8-ad2d-e385e17cc2ba/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "77a77fef-3ada-4ef8-ad2d-e385e17cc2ba",
    "variables": {
        "act": "ipc"
    }
}'

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="77a77fef-3ada-4ef8-ad2d-e385e17cc2ba") — the "list_chapters" function, which returns every chapter for a legal act from https://devgan.in with chapter numbers, titles, slugs, and full URLs..

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