get_readme
Fetch README text for a given npm package, optionally specifying version and truncation.
Instructions
Fetch README text for a given npm package (optionally a specific version).
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": {
"name": "<name>"
},
"name": "get_readme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, e.g. 'react' | |
| version | No | Optional version, e.g. '18.2.0' | |
| truncateAt | No | If set, truncate README to this many characters. |