Check if a package has a more performant, maintained or efficient replacement by package name, replacement text, or topic. Returns a list of suggestions with descriptions and documentation links.
lookup-replacementCheck if a package has a more performant, maintained or efficient replacement by package name, replacement text, or topic. Returns a list of suggestions with descriptions and documentation links.
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": {
"query": "<query>"
},
"name": "lookup-replacement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The package name, replacement text, or topic to search for, e.g. `chalk`, `filter`, or `Array.prototype.map`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |