Old criminal code to new code mapper
map_old_code_sectionMaps a section of a repealed criminal law — the Indian Penal Code 1860, the Code of Criminal Procedure 1973 or the Indian Evidence Act 1872 — to its counterpart in the Bharatiya Nyaya Sanhita, Bharatiya Nagarik Suraksha Sanhita or Bharatiya Sakshya Adhiniyam 2023, with the transitional rule. Use for IPC-to-BNS, CrPC-to-BNSS and Evidence Act-to-BSA conversion questions (e.g. "what is IPC 420 in the BNS?").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>",
"section": "<section>"
},
"name": "map_old_code_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The repealed law: "ipc" (Indian Penal Code), "crpc" (Code of Criminal Procedure) or "iea" (Indian Evidence Act) | |
| section | Yes | Section of the repealed law, e.g. "420", "Section 498A", "§138", "167(2)", "65B" |