pursIdeList
Retrieve available modules or import lists in a PureScript project to analyze structure and dependencies. Requires IDE server running with modules loaded.
Instructions
List available modules in the project or imports in a specific file. PREREQUISITES: IDE server running and modules loaded. Helps understand project structure and dependencies.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file | No | Path to the .purs file (required for 'import' listType). | |
listType | Yes | Type of list to retrieve. |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"file": {
"description": "Path to the .purs file (required for 'import' listType).",
"type": "string"
},
"listType": {
"description": "Type of list to retrieve.",
"enum": [
"availableModules",
"import"
],
"type": "string"
}
},
"required": [
"listType"
],
"type": "object"
}