initialize_project
Creates a new Fortran project with a standard layout using fpm or Makefile, configurable to a specific Fortran standard version.
Instructions
Initializes a new, modern Fortran project at the specified path. Uses fpm if available, or bootstraps a standard layout with a Makefile.
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": {
"project_path": "<project_path>",
"project_name": "<project_name>"
},
"name": "initialize_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | The directory path to create the project in. | |
| project_name | Yes | The name of the project. | |
| fortran_version | No | The Fortran standard version to configure (e.g. 'f90', 'f95', 'f2003', 'f2008', 'f2018', 'f2023'). Defaults to 'f2018'. | f2018 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |