parse_cobol_program
Parses COBOL source to extract divisions, paragraphs, file IO, SQL/CICS statements, copybooks, and complexity metrics for modernization analysis.
Instructions
Parse a COBOL source file. Extract divisions, paragraphs, file IO, SQL/CICS, copybooks, complexity.
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": {
"source_code": "<source_code>"
},
"name": "parse_cobol_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_code | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |