pursIdeUsages
Identify all instances where a specific function, type, or value is used across a PureScript project using the PureScript MCP Server. Ensures accurate refactoring by showing the impact of changes across modules.
Instructions
Find everywhere a specific function, type, or value is used across the project. PREREQUISITES: IDE server running and modules loaded. Essential for refactoring - shows impact of changes. If you plan to refactor, get usages before refactoring so you can make changes to all places that function is used.
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": {
"module": "<module>",
"namespace": "<namespace>",
"identifier": "<identifier>"
},
"name": "pursIdeUsages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | The identifier to find usages for. | |
| module | Yes | Module where the identifier is defined. | |
| namespace | Yes | Namespace of the identifier. |