Live
get_section_details
devgan.inReturns complete legal-section details from https://devgan.in, including text, cross-references, classification, composition, and navigation links.
Parameters2
Runs11
Updated3d ago
Operational11 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_section_details?
Returns complete legal-section details from https://devgan.in, including text, cross-references, classification, composition, and navigation links. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass act, section_number and get the result back without maintaining a scraper.
Response
{
"title": "<string>",
"chapter": "<string>",
"act_code": "<string>",
"act_name": "<string>",
"source_url": "<string>",
"composition": "<string>",
"classification": {
"bail": "<string>",
"entries": [
{
"punishment": "<string>",
"offence_type": "<string>"
}
],
"framework": "<string>",
"cognizance": "<string>",
"triable_by": "<string>"
},
"section_number": "<string>",
"cross_references": [
{
"url": "<string>",
"text": "<string>",
"act_code": "<string>",
"section_number": "<string>"
}
],
"description_html": "<string>",
"description_text": "<string>",
"navigation_links": [
{
"url": "<string>",
"label": "<string>",
"section_number": "<string>"
}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/15e5f045-77fc-4dde-b802-71feb16bf1bd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "15e5f045-77fc-4dde-b802-71feb16bf1bd",
"variables": {
"act": "bns",
"section_number": "302"
}
}'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="15e5f045-77fc-4dde-b802-71feb16bf1bd") — the "get_section_details" function, which returns complete legal-section details from https://devgan.in, including text, cross-references, classification, composition, and navigation links.. It takes act (str), section_number (str). Return the result as structured JSON.